POST api/ServiceUser/ClaimWarranty

Request Information

URI Parameters

None.

Body Parameters

BPClaimWarrantyDto
NameDescriptionTypeAdditional information
PurchaseId

integer

None.

SeverityId

integer

None.

VideoUrl

string

None.

CurrentUserId

integer

None.

Remarks

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PurchaseId": 1,
  "SeverityId": 2,
  "VideoUrl": "sample string 3",
  "CurrentUserId": 4,
  "Remarks": "sample string 5"
}

application/xml, text/xml

Sample:
<BPClaimWarrantyDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BreakProtection.Common.Dto">
  <CurrentUserId>4</CurrentUserId>
  <PurchaseId>1</PurchaseId>
  <Remarks>sample string 5</Remarks>
  <SeverityId>2</SeverityId>
  <VideoUrl>sample string 3</VideoUrl>
</BPClaimWarrantyDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Response
NameDescriptionTypeAdditional 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>