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": "35d305c4-42fb-479d-8c2e-f19092a123e9",
"ConsumerCardClientId": "da0d42ea-2595-40f9-a5dd-d73b308c6b6e",
"DestinationConsumerCardClientId": "5bd8acac-93ed-4e7b-b828-88936398194e",
"NetworkId": "7bff1427-abe6-4b90-b70d-bdcc3bcb97db",
"CompanyContractId": "32197061-8a85-4935-865b-a816b766c6bb",
"SubAccountId": "f9c4bfa1-fa0e-41dc-aeec-89567fcfcf9a",
"SiteId": "68a1d89e-29f6-4043-aa19-3c5b0a96345b",
"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>32197061-8a85-4935-865b-a816b766c6bb</CompanyContractId> <ConsumerCardClientId>da0d42ea-2595-40f9-a5dd-d73b308c6b6e</ConsumerCardClientId> <ConsumerCardProgramId>35d305c4-42fb-479d-8c2e-f19092a123e9</ConsumerCardProgramId> <ControlCode>sample string 4</ControlCode> <Description>sample string 3</Description> <DestinationConsumerCardClientId>5bd8acac-93ed-4e7b-b828-88936398194e</DestinationConsumerCardClientId> <NetworkId>7bff1427-abe6-4b90-b70d-bdcc3bcb97db</NetworkId> <SiteId>68a1d89e-29f6-4043-aa19-3c5b0a96345b</SiteId> <SubAccountId>f9c4bfa1-fa0e-41dc-aeec-89567fcfcf9a</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": "9f82b726-63a5-4419-88bc-c126b8e70bbc",
"ConsumerCardClientId": "74f10bac-07a3-4cbe-9030-291ad26d4c86",
"DestinationConsumerCardClientId": "8fadf728-03d1-4edf-bb78-560f96d6ef52",
"NetworkId": "ac8e44d2-23bb-4023-ad02-86f7f64f59ba",
"CompanyContractId": "e330b98f-76f8-4825-a72f-9726e06082c5",
"SubAccountId": "5a7f8775-d822-4f80-9949-9f1a8c07893d",
"SiteId": "829a9166-31d2-43bd-920b-7063cbf41fa0",
"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>e330b98f-76f8-4825-a72f-9726e06082c5</CompanyContractId> <ConsumerCardClientId>74f10bac-07a3-4cbe-9030-291ad26d4c86</ConsumerCardClientId> <ConsumerCardProgramId>9f82b726-63a5-4419-88bc-c126b8e70bbc</ConsumerCardProgramId> <ControlCode>sample string 4</ControlCode> <Description>sample string 3</Description> <DestinationConsumerCardClientId>8fadf728-03d1-4edf-bb78-560f96d6ef52</DestinationConsumerCardClientId> <NetworkId>ac8e44d2-23bb-4023-ad02-86f7f64f59ba</NetworkId> <SiteId>829a9166-31d2-43bd-920b-7063cbf41fa0</SiteId> <SubAccountId>5a7f8775-d822-4f80-9949-9f1a8c07893d</SubAccountId> <Type>Money_Deposit_To_SubAccount</Type> </ConsumerCardMovementDto>