POST api/cardService/v1/card/load/corporate/cardToCard

Request Information

URI Parameters

None.

Body Parameters

CardTransferRequestModel
NameDescriptionTypeAdditional information
CardHolderId

string

Required

FromCardProxyId

string

Required

ToCardProxyId

string

Required

Amount

decimal number

Required

Comment

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CardHolderId": "sample string 1",
  "FromCardProxyId": "sample string 2",
  "ToCardProxyId": "sample string 3",
  "Amount": 4.1,
  "Comment": "sample string 5"
}

application/xml, text/xml

Sample:
<CardTransferRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Qcs.WebApi.WebApiModels">
  <Amount>4.1</Amount>
  <CardHolderId>sample string 1</CardHolderId>
  <Comment>sample string 5</Comment>
  <FromCardProxyId>sample string 2</FromCardProxyId>
  <ToCardProxyId>sample string 3</ToCardProxyId>
</CardTransferRequestModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CardTransferResponseModel
NameDescriptionTypeAdditional 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:
<CardTransferResponseModel 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>
</CardTransferResponseModel>