POST api/RRSettings/UpdateRateCard
Request Information
URI Parameters
None.
Body Parameters
Collection of RRRateCardDtoName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Price | string |
None. |
|
MileStoneId | integer |
None. |
|
MileStone | string |
None. |
|
Points | integer |
None. |
Request Formats
application/json, text/json
Sample:
[ { "Id": 1, "Price": "sample string 2", "MileStoneId": 3, "MileStone": "sample string 4", "Points": 5 }, { "Id": 1, "Price": "sample string 2", "MileStoneId": 3, "MileStone": "sample string 4", "Points": 5 } ]
application/xml, text/xml
Sample:
<ArrayOfRRRateCardDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BreakProtection.Common.Dto"> <RRRateCardDto> <Id>1</Id> <MileStone>sample string 4</MileStone> <MileStoneId>3</MileStoneId> <Points>5</Points> <Price>sample string 2</Price> </RRRateCardDto> <RRRateCardDto> <Id>1</Id> <MileStone>sample string 4</MileStone> <MileStoneId>3</MileStoneId> <Points>5</Points> <Price>sample string 2</Price> </RRRateCardDto> </ArrayOfRRRateCardDto>
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>