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": "58ed9873-05f9-40b3-8d59-6f64a811d2b9",
"ConsumerCardClientId": "20ce57ca-0c4d-477d-a1f4-2e043702df80",
"DestinationConsumerCardClientId": "29a45955-8edb-410f-bbf2-6f1d7d6b33bf",
"NetworkId": "c75a6f89-56bf-4fa8-bb34-64f1aeb0e585",
"CompanyContractId": "56b69ba4-550f-447b-b183-fa12a1bd6882",
"SubAccountId": "3275e167-5b16-4d61-b9d4-1ffc2773fe18",
"SiteId": "66f7d51a-609b-4a62-aba2-dcfc686be613",
"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>56b69ba4-550f-447b-b183-fa12a1bd6882</CompanyContractId> <ConsumerCardClientId>20ce57ca-0c4d-477d-a1f4-2e043702df80</ConsumerCardClientId> <ConsumerCardProgramId>58ed9873-05f9-40b3-8d59-6f64a811d2b9</ConsumerCardProgramId> <ControlCode>sample string 4</ControlCode> <Description>sample string 3</Description> <DestinationConsumerCardClientId>29a45955-8edb-410f-bbf2-6f1d7d6b33bf</DestinationConsumerCardClientId> <NetworkId>c75a6f89-56bf-4fa8-bb34-64f1aeb0e585</NetworkId> <SiteId>66f7d51a-609b-4a62-aba2-dcfc686be613</SiteId> <SubAccountId>3275e167-5b16-4d61-b9d4-1ffc2773fe18</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": "79a3709a-34ef-49b5-a615-0b99776e68e3",
"ConsumerCardClientId": "1298575f-e028-44fd-8391-2aceaf260364",
"DestinationConsumerCardClientId": "88c7bad0-eda5-4c49-b279-a7ca0b4ade63",
"NetworkId": "5fea3540-14b6-46e2-a2a5-764cb7135a72",
"CompanyContractId": "87bc0ae1-b6fd-4cd9-9608-a0cda41b7ca6",
"SubAccountId": "149df3e2-5636-4130-8460-0d537921b11c",
"SiteId": "f5064144-5b42-491a-b7eb-1eca9c9ccc29",
"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>87bc0ae1-b6fd-4cd9-9608-a0cda41b7ca6</CompanyContractId> <ConsumerCardClientId>1298575f-e028-44fd-8391-2aceaf260364</ConsumerCardClientId> <ConsumerCardProgramId>79a3709a-34ef-49b5-a615-0b99776e68e3</ConsumerCardProgramId> <ControlCode>sample string 4</ControlCode> <Description>sample string 3</Description> <DestinationConsumerCardClientId>88c7bad0-eda5-4c49-b279-a7ca0b4ade63</DestinationConsumerCardClientId> <NetworkId>5fea3540-14b6-46e2-a2a5-764cb7135a72</NetworkId> <SiteId>f5064144-5b42-491a-b7eb-1eca9c9ccc29</SiteId> <SubAccountId>149df3e2-5636-4130-8460-0d537921b11c</SubAccountId> <Type>Money_Deposit_To_SubAccount</Type> </ConsumerCardMovementDto>