POST ConsumerCardMovements
Creates a new movement Valid Movement Types: Money_Withdrawal_From_Subaccount And Money_Transfer_Between_Cards
Request Information
URI Parameters
None.
Body Parameters
The movement info.
ConsumerCardMovementDto| Name | Description | Type | Additional information |
|---|---|---|---|
| ConsumerCardProgramId | globally unique identifier |
None. |
|
| ConsumerCardClientId | globally unique identifier |
None. |
|
| DestinationConsumerCardClientId | globally unique identifier |
None. |
|
| NetworkId | globally unique identifier |
None. |
|
| CompanyContractId | globally unique identifier |
None. |
|
| SubAccountId | globally unique identifier |
None. |
|
| SiteId | globally unique identifier |
None. |
|
| Type | ConsumerCardMovementTypeEnum |
None. |
|
| Amount | decimal number |
None. |
|
| Description | string |
None. |
|
| ControlCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ConsumerCardProgramId": "0bce44e4-37c0-4c01-bf01-0eae8bb0953b",
"ConsumerCardClientId": "7bbf8912-b460-4209-a2be-a468e6b6b565",
"DestinationConsumerCardClientId": "57f05aba-3718-4985-a16e-b3c6973e63aa",
"NetworkId": "57731753-4ce7-4bec-91c5-bd5506bcf57f",
"CompanyContractId": "46117a1e-a753-4404-a8fb-38fdd344b970",
"SubAccountId": "a0fbaa4c-a651-48d3-9c60-2253c7561e5f",
"SiteId": "aeb5e514-e645-4e05-b727-fca738cbc0eb",
"Type": 0,
"Amount": 2.0,
"Description": "sample string 3",
"ControlCode": "sample string 4"
}
application/xml, text/xml
Sample:
<ConsumerCardMovementDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ationet.Model.ConsumerCard"> <Amount>2</Amount> <CompanyContractId>46117a1e-a753-4404-a8fb-38fdd344b970</CompanyContractId> <ConsumerCardClientId>7bbf8912-b460-4209-a2be-a468e6b6b565</ConsumerCardClientId> <ConsumerCardProgramId>0bce44e4-37c0-4c01-bf01-0eae8bb0953b</ConsumerCardProgramId> <ControlCode>sample string 4</ControlCode> <Description>sample string 3</Description> <DestinationConsumerCardClientId>57f05aba-3718-4985-a16e-b3c6973e63aa</DestinationConsumerCardClientId> <NetworkId>57731753-4ce7-4bec-91c5-bd5506bcf57f</NetworkId> <SiteId>aeb5e514-e645-4e05-b727-fca738cbc0eb</SiteId> <SubAccountId>a0fbaa4c-a651-48d3-9c60-2253c7561e5f</SubAccountId> <Type>Money_Deposit_To_SubAccount</Type> </ConsumerCardMovementDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
State of the action, and if created returns true.
ConsumerCardMovementDto| Name | Description | Type | Additional information |
|---|---|---|---|
| ConsumerCardProgramId | globally unique identifier |
None. |
|
| ConsumerCardClientId | globally unique identifier |
None. |
|
| DestinationConsumerCardClientId | globally unique identifier |
None. |
|
| NetworkId | globally unique identifier |
None. |
|
| CompanyContractId | globally unique identifier |
None. |
|
| SubAccountId | globally unique identifier |
None. |
|
| SiteId | globally unique identifier |
None. |
|
| Type | ConsumerCardMovementTypeEnum |
None. |
|
| Amount | decimal number |
None. |
|
| Description | string |
None. |
|
| ControlCode | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ConsumerCardProgramId": "a5243d3a-7b0f-42c8-ac38-a82cc618513d",
"ConsumerCardClientId": "48d0a65a-01fd-4004-bf7b-41cea8263a01",
"DestinationConsumerCardClientId": "f2f278be-6a68-4fba-b72f-baf5dad280f9",
"NetworkId": "bb6b5d1d-3b20-4d4c-ab0f-69c8cccee9a1",
"CompanyContractId": "53a01a0e-1eaa-446d-9f71-a5c3ef6ed783",
"SubAccountId": "a295c1b6-96ec-445a-aff3-beb6265b1b14",
"SiteId": "f7e996ac-8ef9-4c33-9ff7-25879bfa666f",
"Type": 0,
"Amount": 2.0,
"Description": "sample string 3",
"ControlCode": "sample string 4"
}
application/xml, text/xml
Sample:
<ConsumerCardMovementDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ationet.Model.ConsumerCard"> <Amount>2</Amount> <CompanyContractId>53a01a0e-1eaa-446d-9f71-a5c3ef6ed783</CompanyContractId> <ConsumerCardClientId>48d0a65a-01fd-4004-bf7b-41cea8263a01</ConsumerCardClientId> <ConsumerCardProgramId>a5243d3a-7b0f-42c8-ac38-a82cc618513d</ConsumerCardProgramId> <ControlCode>sample string 4</ControlCode> <Description>sample string 3</Description> <DestinationConsumerCardClientId>f2f278be-6a68-4fba-b72f-baf5dad280f9</DestinationConsumerCardClientId> <NetworkId>bb6b5d1d-3b20-4d4c-ab0f-69c8cccee9a1</NetworkId> <SiteId>f7e996ac-8ef9-4c33-9ff7-25879bfa666f</SiteId> <SubAccountId>a295c1b6-96ec-445a-aff3-beb6265b1b14</SubAccountId> <Type>Money_Deposit_To_SubAccount</Type> </ConsumerCardMovementDto>