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": "e1aa8b88-7582-4ef5-baa7-7b37f07c7101",
"ConsumerCardClientId": "dc733480-6b27-470e-a76c-04c1c86e3eda",
"DestinationConsumerCardClientId": "be738eae-310c-4a6c-857a-8e419b74e517",
"NetworkId": "40b94c9b-d2ba-4378-9fab-5d66b0cc0369",
"CompanyContractId": "7e9b4868-d2cf-4d43-b0bb-65b442b99133",
"SubAccountId": "9845f5e9-8f5e-4416-8757-59a7d85a6c3f",
"SiteId": "ce054c1c-6a97-4311-8420-83744efa4a9e",
"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>7e9b4868-d2cf-4d43-b0bb-65b442b99133</CompanyContractId> <ConsumerCardClientId>dc733480-6b27-470e-a76c-04c1c86e3eda</ConsumerCardClientId> <ConsumerCardProgramId>e1aa8b88-7582-4ef5-baa7-7b37f07c7101</ConsumerCardProgramId> <ControlCode>sample string 4</ControlCode> <Description>sample string 3</Description> <DestinationConsumerCardClientId>be738eae-310c-4a6c-857a-8e419b74e517</DestinationConsumerCardClientId> <NetworkId>40b94c9b-d2ba-4378-9fab-5d66b0cc0369</NetworkId> <SiteId>ce054c1c-6a97-4311-8420-83744efa4a9e</SiteId> <SubAccountId>9845f5e9-8f5e-4416-8757-59a7d85a6c3f</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": "df518325-5c25-4e3f-982e-e2151c6914bc",
"ConsumerCardClientId": "8f4776fa-37a4-4d97-9d97-4c4ba32d91b6",
"DestinationConsumerCardClientId": "6b7a0406-470b-41af-a19e-159beac7ad96",
"NetworkId": "96235876-c915-4ac5-ad74-e16161497a18",
"CompanyContractId": "bbdd70b7-645a-42b0-8329-0fde98fae788",
"SubAccountId": "3cd82ab3-c27f-4ce5-92be-ba684a347d71",
"SiteId": "2a527099-5e78-4a55-978f-37672028765d",
"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>bbdd70b7-645a-42b0-8329-0fde98fae788</CompanyContractId> <ConsumerCardClientId>8f4776fa-37a4-4d97-9d97-4c4ba32d91b6</ConsumerCardClientId> <ConsumerCardProgramId>df518325-5c25-4e3f-982e-e2151c6914bc</ConsumerCardProgramId> <ControlCode>sample string 4</ControlCode> <Description>sample string 3</Description> <DestinationConsumerCardClientId>6b7a0406-470b-41af-a19e-159beac7ad96</DestinationConsumerCardClientId> <NetworkId>96235876-c915-4ac5-ad74-e16161497a18</NetworkId> <SiteId>2a527099-5e78-4a55-978f-37672028765d</SiteId> <SubAccountId>3cd82ab3-c27f-4ce5-92be-ba684a347d71</SubAccountId> <Type>Money_Deposit_To_SubAccount</Type> </ConsumerCardMovementDto>