POST api/Service/PostRentalCalculation
Request Information
URI Parameters
None.
Body Parameters
RentalHeaderName | Description | Type | Additional information |
---|---|---|---|
RentalYear | string |
None. |
|
RentalStatus | string |
None. |
|
RentalBookID | string |
None. |
|
RentalCalculationNumber | string |
None. |
|
DeviceID | string |
None. |
|
SerialNumber | string |
None. |
|
CustomerID | string |
None. |
|
Name1 | string |
None. |
|
Name2 | string |
None. |
|
Name3 | string |
None. |
|
Address | string |
None. |
|
HouseNumber | string |
None. |
|
City | string |
None. |
|
Country | string |
None. |
|
PostalCode | string |
None. |
|
CustomerContactTypeID | string |
None. |
|
ContactInTypeID | string |
None. |
|
FirstName | string |
None. |
|
LastName | string |
None. |
|
PhoneNo | string |
None. |
|
FaxNo | string |
None. |
|
string |
None. |
||
MobileNo | string |
None. |
|
CustomerPayerID | string |
None. |
|
CustomerInvoiceID | string |
None. |
|
Document | string |
None. |
|
OpeningDate | string |
None. |
|
DateOfSettlement | string |
None. |
|
NumberOfRentalDays | string |
None. |
|
Warranty | string |
None. |
|
RentalContactTypeID | string |
None. |
|
RentalContactInTypeID | string |
None. |
|
RentalFirstName | string |
None. |
|
RentalLastName | string |
None. |
|
RentalPhoneNo | string |
None. |
|
RentalFaxNo | string |
None. |
|
RentalEmail | string |
None. |
|
RentalMobileNo | string |
None. |
|
FlatRate | string |
None. |
|
ContractTypeCode | string |
None. |
|
ContractDate | string |
None. |
|
ContractNumber | string |
None. |
|
GuarantorID | string |
None. |
|
DocumentHeaderDescription | string |
None. |
|
DocumentFooterDescription | string |
None. |
|
FixedAssetID | string |
None. |
|
RentalDateFrom | string |
None. |
|
RentalDateTo | string |
None. |
|
CostCenterID | string |
None. |
|
CostUnitID | string |
None. |
|
AnalyticID | string |
None. |
|
ClerkID | string |
None. |
|
RentalPrinted | string |
None. |
|
FootNote | string |
None. |
|
InsertedBy | string |
None. |
|
InsertedTime | string |
None. |
|
ModifiedBy | string |
None. |
|
ModifiedTime | string |
None. |
|
ReadingDate | string |
None. |
|
LabelIRAC | string |
None. |
|
VATCalculation | string |
None. |
|
RentalItems | RentalItems |
None. |
Request Formats
application/xml, text/xml
Sample:
<RentalHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <RentalYear>sample string 1</RentalYear> <RentalStatus>sample string 2</RentalStatus> <RentalBookID>sample string 3</RentalBookID> <RentalCalculationNumber>sample string 4</RentalCalculationNumber> <DeviceID>sample string 5</DeviceID> <SerialNumber>sample string 6</SerialNumber> <CustomerID>sample string 7</CustomerID> <Name1>sample string 8</Name1> <Name2>sample string 9</Name2> <Name3>sample string 10</Name3> <Address>sample string 11</Address> <HouseNumber>sample string 12</HouseNumber> <City>sample string 13</City> <Country>sample string 14</Country> <PostalCode>sample string 15</PostalCode> <CustomerContactTypeID>sample string 16</CustomerContactTypeID> <ContactInTypeID>sample string 17</ContactInTypeID> <FirstName>sample string 18</FirstName> <LastName>sample string 19</LastName> <PhoneNo>sample string 20</PhoneNo> <FaxNo>sample string 21</FaxNo> <Email>sample string 22</Email> <MobileNo>sample string 23</MobileNo> <CustomerPayerID>sample string 24</CustomerPayerID> <CustomerInvoiceID>sample string 25</CustomerInvoiceID> <Document>sample string 26</Document> <OpeningDate>sample string 27</OpeningDate> <DateOfSettlement>sample string 28</DateOfSettlement> <NumberOfRentalDays>sample string 29</NumberOfRentalDays> <Warranty>sample string 30</Warranty> <RentalContactTypeID>sample string 31</RentalContactTypeID> <RentalContactInTypeID>sample string 32</RentalContactInTypeID> <RentalFirstName>sample string 33</RentalFirstName> <RentalLastName>sample string 34</RentalLastName> <RentalPhoneNo>sample string 35</RentalPhoneNo> <RentalFaxNo>sample string 36</RentalFaxNo> <RentalEmail>sample string 37</RentalEmail> <RentalMobileNo>sample string 38</RentalMobileNo> <FlatRate>sample string 39</FlatRate> <ContractTypeCode>sample string 40</ContractTypeCode> <ContractDate>sample string 41</ContractDate> <ContractNumber>sample string 42</ContractNumber> <GuarantorID>sample string 43</GuarantorID> <DocumentHeaderDescription>sample string 44</DocumentHeaderDescription> <DocumentFooterDescription>sample string 45</DocumentFooterDescription> <FixedAssetID>sample string 46</FixedAssetID> <RentalDateFrom>sample string 47</RentalDateFrom> <RentalDateTo>sample string 48</RentalDateTo> <CostCenterID>sample string 49</CostCenterID> <CostUnitID>sample string 50</CostUnitID> <AnalyticID>sample string 51</AnalyticID> <ClerkID>sample string 52</ClerkID> <RentalPrinted>sample string 53</RentalPrinted> <FootNote>sample string 54</FootNote> <InsertedBy>sample string 55</InsertedBy> <InsertedTime>sample string 56</InsertedTime> <ModifiedBy>sample string 57</ModifiedBy> <ModifiedTime>sample string 58</ModifiedTime> <ReadingDate>sample string 59</ReadingDate> <LabelIRAC>sample string 60</LabelIRAC> <VATCalculation>sample string 61</VATCalculation> <RentalItems> <RentalItem> <LineNumber>sample string 1</LineNumber> <ItemID>sample string 2</ItemID> <ItemDescription1>sample string 3</ItemDescription1> <ItemDescription2>sample string 4</ItemDescription2> <ItemUnitOfMeas>sample string 5</ItemUnitOfMeas> <SumCode>sample string 6</SumCode> <CounterOLD>sample string 7</CounterOLD> <CounterNEW>sample string 8</CounterNEW> <FlatRateQuantity>sample string 9</FlatRateQuantity> <InvoiceQuantity>sample string 10</InvoiceQuantity> <Price>sample string 11</Price> <DiscountPercentage>sample string 12</DiscountPercentage> <VATRatePercent>sample string 13</VATRatePercent> <Total>sample string 14</Total> <InsertedBy>sample string 15</InsertedBy> <InsertedTime>sample string 16</InsertedTime> <ModifiedBy>sample string 17</ModifiedBy> <ModifiedTime>sample string 18</ModifiedTime> </RentalItem> <RentalItem> <LineNumber>sample string 1</LineNumber> <ItemID>sample string 2</ItemID> <ItemDescription1>sample string 3</ItemDescription1> <ItemDescription2>sample string 4</ItemDescription2> <ItemUnitOfMeas>sample string 5</ItemUnitOfMeas> <SumCode>sample string 6</SumCode> <CounterOLD>sample string 7</CounterOLD> <CounterNEW>sample string 8</CounterNEW> <FlatRateQuantity>sample string 9</FlatRateQuantity> <InvoiceQuantity>sample string 10</InvoiceQuantity> <Price>sample string 11</Price> <DiscountPercentage>sample string 12</DiscountPercentage> <VATRatePercent>sample string 13</VATRatePercent> <Total>sample string 14</Total> <InsertedBy>sample string 15</InsertedBy> <InsertedTime>sample string 16</InsertedTime> <ModifiedBy>sample string 17</ModifiedBy> <ModifiedTime>sample string 18</ModifiedTime> </RentalItem> </RentalItems> </RentalHeader>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
UpdateResultName | Description | Type | Additional information |
---|---|---|---|
ResultCode | ExternalResultCode |
None. |
|
Errors | Collection of Error |
None. |
Response Formats
application/xml, text/xml
Sample:
<UpdateResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ResultCode>None</ResultCode> <Errors> <Error> <Level>Warning</Level> <Message>sample string 1</Message> </Error> <Error> <Level>Warning</Level> <Message>sample string 1</Message> </Error> </Errors> </UpdateResult>