POST api/Purchase/ClaimWarranty
Request Information
URI Parameters
None.
Body Parameters
ClaimWarrantyDtoName | Description | Type | Additional information |
---|---|---|---|
ShopId | integer |
None. |
|
PurchaseId | integer |
None. |
|
UserId | integer |
None. |
|
VideoUrl | string |
None. |
|
Remark | string |
None. |
|
FileIds | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "ShopId": 1, "PurchaseId": 2, "UserId": 3, "VideoUrl": "sample string 4", "Remark": "sample string 5", "FileIds": [ 1, 2 ] }
application/xml, text/xml
Sample:
<ClaimWarrantyDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BreakProtection.Common.Dto"> <FileIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </FileIds> <PurchaseId>2</PurchaseId> <Remark>sample string 5</Remark> <ShopId>1</ShopId> <UserId>3</UserId> <VideoUrl>sample string 4</VideoUrl> </ClaimWarrantyDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseName | Description | Type | Additional information |
---|---|---|---|
Status | integer |
None. |
|
Message | string |
None. |
|
Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "Status": 1, "Message": "sample string 2", "Data": {} }
application/xml, text/xml
Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BreakProtection.Common.Dto"> <Data /> <Message>sample string 2</Message> <Status>1</Status> </Response>