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": "38704297-f329-4be2-b5b4-1da4e1a5b138",
"ConsumerCardClientId": "0401ebe9-ab00-43ff-b31c-a53712c3ddc0",
"DestinationConsumerCardClientId": "8ac9f0fd-76f7-41fc-8e16-7a3a72845a64",
"NetworkId": "c524e33b-450c-4f38-8bd4-f20156bf2cb2",
"CompanyContractId": "45f953a7-3f4d-4470-aafd-c0dae21a8566",
"SubAccountId": "0af56834-ff20-4e5b-8b6d-7be8726bc2c0",
"SiteId": "498b7207-6561-44a9-80d0-d741bc55e081",
"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>45f953a7-3f4d-4470-aafd-c0dae21a8566</CompanyContractId> <ConsumerCardClientId>0401ebe9-ab00-43ff-b31c-a53712c3ddc0</ConsumerCardClientId> <ConsumerCardProgramId>38704297-f329-4be2-b5b4-1da4e1a5b138</ConsumerCardProgramId> <ControlCode>sample string 4</ControlCode> <Description>sample string 3</Description> <DestinationConsumerCardClientId>8ac9f0fd-76f7-41fc-8e16-7a3a72845a64</DestinationConsumerCardClientId> <NetworkId>c524e33b-450c-4f38-8bd4-f20156bf2cb2</NetworkId> <SiteId>498b7207-6561-44a9-80d0-d741bc55e081</SiteId> <SubAccountId>0af56834-ff20-4e5b-8b6d-7be8726bc2c0</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": "b70c17de-b8d7-4ad2-94f7-5d585a9fba09",
"ConsumerCardClientId": "b1c9cae1-0258-4d49-9284-74879c940e2c",
"DestinationConsumerCardClientId": "f40b6653-a2ef-4489-8cad-bc9df82fbaac",
"NetworkId": "454ae813-db47-4d1b-895b-e07638729762",
"CompanyContractId": "098ef3bc-adfb-48f8-b788-b62e72c9eae2",
"SubAccountId": "15151a28-f58d-48e3-8194-9b6aa43f553b",
"SiteId": "8a5785fa-fcc3-493a-9996-21356fbdf559",
"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>098ef3bc-adfb-48f8-b788-b62e72c9eae2</CompanyContractId> <ConsumerCardClientId>b1c9cae1-0258-4d49-9284-74879c940e2c</ConsumerCardClientId> <ConsumerCardProgramId>b70c17de-b8d7-4ad2-94f7-5d585a9fba09</ConsumerCardProgramId> <ControlCode>sample string 4</ControlCode> <Description>sample string 3</Description> <DestinationConsumerCardClientId>f40b6653-a2ef-4489-8cad-bc9df82fbaac</DestinationConsumerCardClientId> <NetworkId>454ae813-db47-4d1b-895b-e07638729762</NetworkId> <SiteId>8a5785fa-fcc3-493a-9996-21356fbdf559</SiteId> <SubAccountId>15151a28-f58d-48e3-8194-9b6aa43f553b</SubAccountId> <Type>Money_Deposit_To_SubAccount</Type> </ConsumerCardMovementDto>