POST warranty/UpdateItemWarranty
Request Information
URI Parameters
None.
Body Parameters
iAddOrUpdateItemWarrantyName | Description | Type | Additional information |
---|---|---|---|
warrantyID | globally unique identifier |
None. |
|
customerID | globally unique identifier |
None. |
|
companyID | globally unique identifier |
None. |
|
productID | globally unique identifier |
None. |
|
serialNumberID | globally unique identifier |
None. |
|
purchaseDate | string |
None. |
|
startDate | string |
None. |
|
endDate | string |
None. |
|
proofOfPurchase | string |
None. |
|
createdID | string |
None. |
|
status | integer |
None. |
|
type | string |
None. |
|
description | string |
None. |
|
warrantyMonths | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "warrantyID": "fb7c889f-5c2b-4e94-9d69-ed73380ae5e8", "customerID": "df54a4cd-1c86-4559-abe8-2e44c4668bb3", "companyID": "e904de18-e9f1-4152-b243-44f79c53c8c1", "productID": "3f4501f4-eaa5-4d8f-90da-068323fbbb52", "serialNumberID": "204e398f-6378-487f-a28b-92061a408edd", "purchaseDate": "sample string 6", "startDate": "sample string 7", "endDate": "sample string 8", "proofOfPurchase": "sample string 9", "createdID": "sample string 10", "status": 11, "type": "sample string 12", "description": "sample string 13", "warrantyMonths": 14 }
application/xml, text/xml
Sample:
<iAddOrUpdateItemWarranty xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WNTY_DAT.Model"> <companyID>e904de18-e9f1-4152-b243-44f79c53c8c1</companyID> <createdID>sample string 10</createdID> <customerID>df54a4cd-1c86-4559-abe8-2e44c4668bb3</customerID> <description>sample string 13</description> <endDate>sample string 8</endDate> <productID>3f4501f4-eaa5-4d8f-90da-068323fbbb52</productID> <proofOfPurchase>sample string 9</proofOfPurchase> <purchaseDate>sample string 6</purchaseDate> <serialNumberID>204e398f-6378-487f-a28b-92061a408edd</serialNumberID> <startDate>sample string 7</startDate> <status>11</status> <type>sample string 12</type> <warrantyID>fb7c889f-5c2b-4e94-9d69-ed73380ae5e8</warrantyID> <warrantyMonths>14</warrantyMonths> </iAddOrUpdateItemWarranty>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
oResultName | Description | Type | Additional information |
---|---|---|---|
StatusCode | boolean |
None. |
|
Message | string |
None. |
|
Lang | string |
None. |
|
Records | Collection of Object |
None. |
|
ListingData1 | Collection of Object |
None. |
|
ListingData2 | Collection of Object |
None. |
|
ListingData3 | Collection of Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "StatusCode": true, "Message": "sample string 2", "Lang": "sample string 3", "Records": [ {}, {} ], "ListingData1": [ {}, {} ], "ListingData2": [ {}, {} ], "ListingData3": [ {}, {} ] }
application/xml, text/xml
Sample:
<oResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WNTY_DAT.Model"> <Lang>sample string 3</Lang> <ListingData1 xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:anyType /> <d2p1:anyType /> </ListingData1> <ListingData2 xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:anyType /> <d2p1:anyType /> </ListingData2> <ListingData3 xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:anyType /> <d2p1:anyType /> </ListingData3> <Message>sample string 2</Message> <Records xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:anyType /> <d2p1:anyType /> </Records> <StatusCode>true</StatusCode> </oResult>