BackOffice


Click here for a complete list of operations.

PostTheRepairCard

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /puckanetennisclub/app/BackOffice.asmx HTTP/1.1
Host: lightingsports.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.joycesoftware.com/PostTheRepairCard"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <PostTheRepairCard xmlns="http://www.joycesoftware.com">
      <Header>
        <Id>int</Id>
        <RepairCardGuid>string</RepairCardGuid>
        <RecordType>string</RecordType>
        <CustomerGUID>string</CustomerGUID>
        <EmployeeGUID>string</EmployeeGUID>
        <AssignedEmployeeGUID>string</AssignedEmployeeGUID>
        <CreatedDate>dateTime</CreatedDate>
        <RequiredDate>dateTime</RequiredDate>
        <TotalIncVat>decimal</TotalIncVat>
        <TotalExcVat>decimal</TotalExcVat>
        <TotalCost>decimal</TotalCost>
        <CurrentStatus>string</CurrentStatus>
        <ReferenceNumber>string</ReferenceNumber>
        <CustomerReference>string</CustomerReference>
        <InvoiceHour>decimal</InvoiceHour>
        <InvoiceMinute>decimal</InvoiceMinute>
        <TerminalCode>string</TerminalCode>
        <CustomerSignature>string</CustomerSignature>
        <StoreCode>string</StoreCode>
        <Exported>string</Exported>
        <BillToAddress>string</BillToAddress>
        <EmailLater>string</EmailLater>
        <SystemTags>string</SystemTags>
        <RepairPriority>decimal</RepairPriority>
        <RepairBudget>decimal</RepairBudget>
        <JobLines>
          <RepairCardLine>
            <Id>int</Id>
            <HeaderGuid>string</HeaderGuid>
            <LineGuid>string</LineGuid>
            <LineType>string</LineType>
            <ProductGUID>string</ProductGUID>
            <ProductDescription>string</ProductDescription>
            <Sku>string</Sku>
            <TaxCategoryId>int</TaxCategoryId>
            <TaxRate>decimal</TaxRate>
            <UnitPrice>decimal</UnitPrice>
            <UnitCost>decimal</UnitCost>
            <Quantity>decimal</Quantity>
            <TotalPriceInc>decimal</TotalPriceInc>
            <TotalPriceExc>decimal</TotalPriceExc>
            <LineMessage1>string</LineMessage1>
            <LineMessage2>string</LineMessage2>
            <LineMessage3>string</LineMessage3>
            <LineMessage4>string</LineMessage4>
            <LineMessage5>string</LineMessage5>
            <CreatedOnUtc>dateTime</CreatedOnUtc>
            <BatchNumber>string</BatchNumber>
            <ExpiryDate>dateTime</ExpiryDate>
            <ProductType>decimal</ProductType>
          </RepairCardLine>
          <RepairCardLine>
            <Id>int</Id>
            <HeaderGuid>string</HeaderGuid>
            <LineGuid>string</LineGuid>
            <LineType>string</LineType>
            <ProductGUID>string</ProductGUID>
            <ProductDescription>string</ProductDescription>
            <Sku>string</Sku>
            <TaxCategoryId>int</TaxCategoryId>
            <TaxRate>decimal</TaxRate>
            <UnitPrice>decimal</UnitPrice>
            <UnitCost>decimal</UnitCost>
            <Quantity>decimal</Quantity>
            <TotalPriceInc>decimal</TotalPriceInc>
            <TotalPriceExc>decimal</TotalPriceExc>
            <LineMessage1>string</LineMessage1>
            <LineMessage2>string</LineMessage2>
            <LineMessage3>string</LineMessage3>
            <LineMessage4>string</LineMessage4>
            <LineMessage5>string</LineMessage5>
            <CreatedOnUtc>dateTime</CreatedOnUtc>
            <BatchNumber>string</BatchNumber>
            <ExpiryDate>dateTime</ExpiryDate>
            <ProductType>decimal</ProductType>
          </RepairCardLine>
        </JobLines>
        <DocumentCustomer>
          <Id>int</Id>
          <CustomerGuid>string</CustomerGuid>
          <Code>string</Code>
          <Name>string</Name>
          <Email>string</Email>
          <CustomerAddress>string</CustomerAddress>
          <PhoneNumber>string</PhoneNumber>
          <FaxNumber>string</FaxNumber>
          <Password>string</Password>
          <PasswordFormatId>int</PasswordFormatId>
          <PasswordSalt>string</PasswordSalt>
          <AdminComment>string</AdminComment>
          <IsTaxExempt>boolean</IsTaxExempt>
          <Active>boolean</Active>
          <Deleted>boolean</Deleted>
          <LastIpAddress>string</LastIpAddress>
          <CreatedOnUtc>dateTime</CreatedOnUtc>
          <LastLoginDateUtc>dateTime</LastLoginDateUtc>
          <LastActivityDateUtc>dateTime</LastActivityDateUtc>
          <LastInvoiceDateUtc>dateTime</LastInvoiceDateUtc>
          <LastPaymentDateUtc>dateTime</LastPaymentDateUtc>
          <LastAdjustmentDateUtc>dateTime</LastAdjustmentDateUtc>
          <UpdatedOnUtc>dateTime</UpdatedOnUtc>
          <MobileNumber>string</MobileNumber>
          <WebSite>string</WebSite>
          <Twitter>string</Twitter>
          <Company>string</Company>
          <GroupGuid>string</GroupGuid>
          <PriceListID>int</PriceListID>
          <MainContact>string</MainContact>
          <CustomerReferenceRequired>string</CustomerReferenceRequired>
          <ManualStatementOnly>string</ManualStatementOnly>
          <CreditDays>decimal</CreditDays>
          <ContactByPhone>string</ContactByPhone>
          <ContactByText>string</ContactByText>
          <ContactByEmail>string</ContactByEmail>
          <ContactforMarketing>string</ContactforMarketing>
          <IsSensitive>string</IsSensitive>
          <ResetPassword>string</ResetPassword>
          <MembershipIsPaid>string</MembershipIsPaid>
          <NextMemberShipPayment>dateTime</NextMemberShipPayment>
          <FamilyAccountGUID>string</FamilyAccountGUID>
          <PasswordResetGUID>string</PasswordResetGUID>
          <StripeCustomerID>string</StripeCustomerID>
          <DateOfBirth>dateTime</DateOfBirth>
          <CodeOfEthicsAgreed>string</CodeOfEthicsAgreed>
          <TermsAndConditionsAgreed>string</TermsAndConditionsAgreed>
          <AllowRestricted>string</AllowRestricted>
          <CurrentBalance>decimal</CurrentBalance>
          <BalanceRecord>
            <connectionString>string</connectionString>
            <Id>int</Id>
            <CustomerGuid>string</CustomerGuid>
            <CurrentBalance>decimal</CurrentBalance>
            <LastInvoiceAmount>decimal</LastInvoiceAmount>
            <LastSaleAmount>decimal</LastSaleAmount>
            <LastPaymentAmount>decimal</LastPaymentAmount>
            <LastAdjustmentAmount>decimal</LastAdjustmentAmount>
            <GameCredits>decimal</GameCredits>
          </BalanceRecord>
        </DocumentCustomer>
        <Assignee>
          <Id>int</Id>
          <EmployeeGuid>string</EmployeeGuid>
          <Username>string</Username>
          <Email>string</Email>
          <Password>string</Password>
          <PasswordFormatId>int</PasswordFormatId>
          <PasswordSalt>string</PasswordSalt>
          <AdminComment>string</AdminComment>
          <Active>boolean</Active>
          <Deleted>boolean</Deleted>
          <LastIpAddress>string</LastIpAddress>
          <CreatedOnUtc>dateTime</CreatedOnUtc>
          <LastLoginDateUtc>dateTime</LastLoginDateUtc>
          <LastActivityDateUtc>dateTime</LastActivityDateUtc>
          <EmployeeName>string</EmployeeName>
          <ExternalCode>string</ExternalCode>
          <PinNumber>string</PinNumber>
          <StartPage>string</StartPage>
          <className>string</className>
          <VeterinaryPractitioner>string</VeterinaryPractitioner>
          <MobilePhoneNumber>string</MobilePhoneNumber>
          <EmployeesPositionGUID>string</EmployeesPositionGUID>
          <PointOfSaleName>string</PointOfSaleName>
        </Assignee>
      </Header>
      <Lines>
        <RepairCardLine>
          <Id>int</Id>
          <HeaderGuid>string</HeaderGuid>
          <LineGuid>string</LineGuid>
          <LineType>string</LineType>
          <ProductGUID>string</ProductGUID>
          <ProductDescription>string</ProductDescription>
          <Sku>string</Sku>
          <TaxCategoryId>int</TaxCategoryId>
          <TaxRate>decimal</TaxRate>
          <UnitPrice>decimal</UnitPrice>
          <UnitCost>decimal</UnitCost>
          <Quantity>decimal</Quantity>
          <TotalPriceInc>decimal</TotalPriceInc>
          <TotalPriceExc>decimal</TotalPriceExc>
          <LineMessage1>string</LineMessage1>
          <LineMessage2>string</LineMessage2>
          <LineMessage3>string</LineMessage3>
          <LineMessage4>string</LineMessage4>
          <LineMessage5>string</LineMessage5>
          <CreatedOnUtc>dateTime</CreatedOnUtc>
          <BatchNumber>string</BatchNumber>
          <ExpiryDate>dateTime</ExpiryDate>
          <ProductType>decimal</ProductType>
        </RepairCardLine>
        <RepairCardLine>
          <Id>int</Id>
          <HeaderGuid>string</HeaderGuid>
          <LineGuid>string</LineGuid>
          <LineType>string</LineType>
          <ProductGUID>string</ProductGUID>
          <ProductDescription>string</ProductDescription>
          <Sku>string</Sku>
          <TaxCategoryId>int</TaxCategoryId>
          <TaxRate>decimal</TaxRate>
          <UnitPrice>decimal</UnitPrice>
          <UnitCost>decimal</UnitCost>
          <Quantity>decimal</Quantity>
          <TotalPriceInc>decimal</TotalPriceInc>
          <TotalPriceExc>decimal</TotalPriceExc>
          <LineMessage1>string</LineMessage1>
          <LineMessage2>string</LineMessage2>
          <LineMessage3>string</LineMessage3>
          <LineMessage4>string</LineMessage4>
          <LineMessage5>string</LineMessage5>
          <CreatedOnUtc>dateTime</CreatedOnUtc>
          <BatchNumber>string</BatchNumber>
          <ExpiryDate>dateTime</ExpiryDate>
          <ProductType>decimal</ProductType>
        </RepairCardLine>
      </Lines>
    </PostTheRepairCard>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <PostTheRepairCardResponse xmlns="http://www.joycesoftware.com">
      <PostTheRepairCardResult />
    </PostTheRepairCardResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /puckanetennisclub/app/BackOffice.asmx HTTP/1.1
Host: lightingsports.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <PostTheRepairCard xmlns="http://www.joycesoftware.com">
      <Header>
        <Id>int</Id>
        <RepairCardGuid>string</RepairCardGuid>
        <RecordType>string</RecordType>
        <CustomerGUID>string</CustomerGUID>
        <EmployeeGUID>string</EmployeeGUID>
        <AssignedEmployeeGUID>string</AssignedEmployeeGUID>
        <CreatedDate>dateTime</CreatedDate>
        <RequiredDate>dateTime</RequiredDate>
        <TotalIncVat>decimal</TotalIncVat>
        <TotalExcVat>decimal</TotalExcVat>
        <TotalCost>decimal</TotalCost>
        <CurrentStatus>string</CurrentStatus>
        <ReferenceNumber>string</ReferenceNumber>
        <CustomerReference>string</CustomerReference>
        <InvoiceHour>decimal</InvoiceHour>
        <InvoiceMinute>decimal</InvoiceMinute>
        <TerminalCode>string</TerminalCode>
        <CustomerSignature>string</CustomerSignature>
        <StoreCode>string</StoreCode>
        <Exported>string</Exported>
        <BillToAddress>string</BillToAddress>
        <EmailLater>string</EmailLater>
        <SystemTags>string</SystemTags>
        <RepairPriority>decimal</RepairPriority>
        <RepairBudget>decimal</RepairBudget>
        <JobLines>
          <RepairCardLine>
            <Id>int</Id>
            <HeaderGuid>string</HeaderGuid>
            <LineGuid>string</LineGuid>
            <LineType>string</LineType>
            <ProductGUID>string</ProductGUID>
            <ProductDescription>string</ProductDescription>
            <Sku>string</Sku>
            <TaxCategoryId>int</TaxCategoryId>
            <TaxRate>decimal</TaxRate>
            <UnitPrice>decimal</UnitPrice>
            <UnitCost>decimal</UnitCost>
            <Quantity>decimal</Quantity>
            <TotalPriceInc>decimal</TotalPriceInc>
            <TotalPriceExc>decimal</TotalPriceExc>
            <LineMessage1>string</LineMessage1>
            <LineMessage2>string</LineMessage2>
            <LineMessage3>string</LineMessage3>
            <LineMessage4>string</LineMessage4>
            <LineMessage5>string</LineMessage5>
            <CreatedOnUtc>dateTime</CreatedOnUtc>
            <BatchNumber>string</BatchNumber>
            <ExpiryDate>dateTime</ExpiryDate>
            <ProductType>decimal</ProductType>
          </RepairCardLine>
          <RepairCardLine>
            <Id>int</Id>
            <HeaderGuid>string</HeaderGuid>
            <LineGuid>string</LineGuid>
            <LineType>string</LineType>
            <ProductGUID>string</ProductGUID>
            <ProductDescription>string</ProductDescription>
            <Sku>string</Sku>
            <TaxCategoryId>int</TaxCategoryId>
            <TaxRate>decimal</TaxRate>
            <UnitPrice>decimal</UnitPrice>
            <UnitCost>decimal</UnitCost>
            <Quantity>decimal</Quantity>
            <TotalPriceInc>decimal</TotalPriceInc>
            <TotalPriceExc>decimal</TotalPriceExc>
            <LineMessage1>string</LineMessage1>
            <LineMessage2>string</LineMessage2>
            <LineMessage3>string</LineMessage3>
            <LineMessage4>string</LineMessage4>
            <LineMessage5>string</LineMessage5>
            <CreatedOnUtc>dateTime</CreatedOnUtc>
            <BatchNumber>string</BatchNumber>
            <ExpiryDate>dateTime</ExpiryDate>
            <ProductType>decimal</ProductType>
          </RepairCardLine>
        </JobLines>
        <DocumentCustomer>
          <Id>int</Id>
          <CustomerGuid>string</CustomerGuid>
          <Code>string</Code>
          <Name>string</Name>
          <Email>string</Email>
          <CustomerAddress>string</CustomerAddress>
          <PhoneNumber>string</PhoneNumber>
          <FaxNumber>string</FaxNumber>
          <Password>string</Password>
          <PasswordFormatId>int</PasswordFormatId>
          <PasswordSalt>string</PasswordSalt>
          <AdminComment>string</AdminComment>
          <IsTaxExempt>boolean</IsTaxExempt>
          <Active>boolean</Active>
          <Deleted>boolean</Deleted>
          <LastIpAddress>string</LastIpAddress>
          <CreatedOnUtc>dateTime</CreatedOnUtc>
          <LastLoginDateUtc>dateTime</LastLoginDateUtc>
          <LastActivityDateUtc>dateTime</LastActivityDateUtc>
          <LastInvoiceDateUtc>dateTime</LastInvoiceDateUtc>
          <LastPaymentDateUtc>dateTime</LastPaymentDateUtc>
          <LastAdjustmentDateUtc>dateTime</LastAdjustmentDateUtc>
          <UpdatedOnUtc>dateTime</UpdatedOnUtc>
          <MobileNumber>string</MobileNumber>
          <WebSite>string</WebSite>
          <Twitter>string</Twitter>
          <Company>string</Company>
          <GroupGuid>string</GroupGuid>
          <PriceListID>int</PriceListID>
          <MainContact>string</MainContact>
          <CustomerReferenceRequired>string</CustomerReferenceRequired>
          <ManualStatementOnly>string</ManualStatementOnly>
          <CreditDays>decimal</CreditDays>
          <ContactByPhone>string</ContactByPhone>
          <ContactByText>string</ContactByText>
          <ContactByEmail>string</ContactByEmail>
          <ContactforMarketing>string</ContactforMarketing>
          <IsSensitive>string</IsSensitive>
          <ResetPassword>string</ResetPassword>
          <MembershipIsPaid>string</MembershipIsPaid>
          <NextMemberShipPayment>dateTime</NextMemberShipPayment>
          <FamilyAccountGUID>string</FamilyAccountGUID>
          <PasswordResetGUID>string</PasswordResetGUID>
          <StripeCustomerID>string</StripeCustomerID>
          <DateOfBirth>dateTime</DateOfBirth>
          <CodeOfEthicsAgreed>string</CodeOfEthicsAgreed>
          <TermsAndConditionsAgreed>string</TermsAndConditionsAgreed>
          <AllowRestricted>string</AllowRestricted>
          <CurrentBalance>decimal</CurrentBalance>
          <BalanceRecord>
            <connectionString>string</connectionString>
            <Id>int</Id>
            <CustomerGuid>string</CustomerGuid>
            <CurrentBalance>decimal</CurrentBalance>
            <LastInvoiceAmount>decimal</LastInvoiceAmount>
            <LastSaleAmount>decimal</LastSaleAmount>
            <LastPaymentAmount>decimal</LastPaymentAmount>
            <LastAdjustmentAmount>decimal</LastAdjustmentAmount>
            <GameCredits>decimal</GameCredits>
          </BalanceRecord>
        </DocumentCustomer>
        <Assignee>
          <Id>int</Id>
          <EmployeeGuid>string</EmployeeGuid>
          <Username>string</Username>
          <Email>string</Email>
          <Password>string</Password>
          <PasswordFormatId>int</PasswordFormatId>
          <PasswordSalt>string</PasswordSalt>
          <AdminComment>string</AdminComment>
          <Active>boolean</Active>
          <Deleted>boolean</Deleted>
          <LastIpAddress>string</LastIpAddress>
          <CreatedOnUtc>dateTime</CreatedOnUtc>
          <LastLoginDateUtc>dateTime</LastLoginDateUtc>
          <LastActivityDateUtc>dateTime</LastActivityDateUtc>
          <EmployeeName>string</EmployeeName>
          <ExternalCode>string</ExternalCode>
          <PinNumber>string</PinNumber>
          <StartPage>string</StartPage>
          <className>string</className>
          <VeterinaryPractitioner>string</VeterinaryPractitioner>
          <MobilePhoneNumber>string</MobilePhoneNumber>
          <EmployeesPositionGUID>string</EmployeesPositionGUID>
          <PointOfSaleName>string</PointOfSaleName>
        </Assignee>
      </Header>
      <Lines>
        <RepairCardLine>
          <Id>int</Id>
          <HeaderGuid>string</HeaderGuid>
          <LineGuid>string</LineGuid>
          <LineType>string</LineType>
          <ProductGUID>string</ProductGUID>
          <ProductDescription>string</ProductDescription>
          <Sku>string</Sku>
          <TaxCategoryId>int</TaxCategoryId>
          <TaxRate>decimal</TaxRate>
          <UnitPrice>decimal</UnitPrice>
          <UnitCost>decimal</UnitCost>
          <Quantity>decimal</Quantity>
          <TotalPriceInc>decimal</TotalPriceInc>
          <TotalPriceExc>decimal</TotalPriceExc>
          <LineMessage1>string</LineMessage1>
          <LineMessage2>string</LineMessage2>
          <LineMessage3>string</LineMessage3>
          <LineMessage4>string</LineMessage4>
          <LineMessage5>string</LineMessage5>
          <CreatedOnUtc>dateTime</CreatedOnUtc>
          <BatchNumber>string</BatchNumber>
          <ExpiryDate>dateTime</ExpiryDate>
          <ProductType>decimal</ProductType>
        </RepairCardLine>
        <RepairCardLine>
          <Id>int</Id>
          <HeaderGuid>string</HeaderGuid>
          <LineGuid>string</LineGuid>
          <LineType>string</LineType>
          <ProductGUID>string</ProductGUID>
          <ProductDescription>string</ProductDescription>
          <Sku>string</Sku>
          <TaxCategoryId>int</TaxCategoryId>
          <TaxRate>decimal</TaxRate>
          <UnitPrice>decimal</UnitPrice>
          <UnitCost>decimal</UnitCost>
          <Quantity>decimal</Quantity>
          <TotalPriceInc>decimal</TotalPriceInc>
          <TotalPriceExc>decimal</TotalPriceExc>
          <LineMessage1>string</LineMessage1>
          <LineMessage2>string</LineMessage2>
          <LineMessage3>string</LineMessage3>
          <LineMessage4>string</LineMessage4>
          <LineMessage5>string</LineMessage5>
          <CreatedOnUtc>dateTime</CreatedOnUtc>
          <BatchNumber>string</BatchNumber>
          <ExpiryDate>dateTime</ExpiryDate>
          <ProductType>decimal</ProductType>
        </RepairCardLine>
      </Lines>
    </PostTheRepairCard>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <PostTheRepairCardResponse xmlns="http://www.joycesoftware.com">
      <PostTheRepairCardResult />
    </PostTheRepairCardResponse>
  </soap12:Body>
</soap12:Envelope>