POST api/cardService/v1/product/spendProfileOverride
Request Information
URI Parameters
None.
Body Parameters
AddSpendProfileOverrideRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| CardId | string |
None. |
|
| Amount | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"CardId": "sample string 1",
"Amount": 2.1
}
application/xml, text/xml
Sample:
<AddSpendProfileOverrideRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Qcs.WebApi.WebApiModels.Product"> <Amount>2.1</Amount> <CardId>sample string 1</CardId> </AddSpendProfileOverrideRequestModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BaseApiResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| IsSuccess | boolean |
Required |
|
| ErrorCodes | Collection of string |
Required |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsSuccess": true,
"ErrorCodes": [
"sample string 1",
"sample string 2"
],
"Message": "sample string 2"
}
application/xml, text/xml
Sample:
<BaseApiResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Qcs.WebApi.WebApiModels">
<ErrorCodes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</ErrorCodes>
<IsSuccess>true</IsSuccess>
<Message>sample string 2</Message>
</BaseApiResponse>