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": "179d7284-83f9-40ec-bdc7-f89d6b142063",
"ConsumerCardClientId": "f56e39cd-6b20-4b78-92ea-5ac2e3040608",
"DestinationConsumerCardClientId": "57420eea-3959-46fd-ba0d-c91633077ae9",
"NetworkId": "3603d40a-70e0-4708-9548-1b632c86c7f3",
"CompanyContractId": "757409bd-08a8-4f45-9044-6e810deafd4f",
"SubAccountId": "6d89581a-5e72-410e-9a36-bd5bed8b6ea1",
"SiteId": "7942a2e8-f61f-440f-9466-e030071abdd1",
"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>757409bd-08a8-4f45-9044-6e810deafd4f</CompanyContractId> <ConsumerCardClientId>f56e39cd-6b20-4b78-92ea-5ac2e3040608</ConsumerCardClientId> <ConsumerCardProgramId>179d7284-83f9-40ec-bdc7-f89d6b142063</ConsumerCardProgramId> <ControlCode>sample string 4</ControlCode> <Description>sample string 3</Description> <DestinationConsumerCardClientId>57420eea-3959-46fd-ba0d-c91633077ae9</DestinationConsumerCardClientId> <NetworkId>3603d40a-70e0-4708-9548-1b632c86c7f3</NetworkId> <SiteId>7942a2e8-f61f-440f-9466-e030071abdd1</SiteId> <SubAccountId>6d89581a-5e72-410e-9a36-bd5bed8b6ea1</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": "c190cc4e-7cb6-483f-b675-2fe74669ab85",
"ConsumerCardClientId": "2429b17c-c46a-4e34-a959-bc4faa7d7c1f",
"DestinationConsumerCardClientId": "30e0ab30-ceea-4ab0-8117-f325df3bb1d5",
"NetworkId": "65829c3e-aaf7-485b-825b-7c8ef07247a3",
"CompanyContractId": "98608a30-d54a-4be1-8abc-d182be03b8f2",
"SubAccountId": "3b8a5413-1ca3-48ef-b28a-8212b7ff6515",
"SiteId": "5be1e3ef-4b56-41a8-a8ec-7c8d2de11434",
"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>98608a30-d54a-4be1-8abc-d182be03b8f2</CompanyContractId> <ConsumerCardClientId>2429b17c-c46a-4e34-a959-bc4faa7d7c1f</ConsumerCardClientId> <ConsumerCardProgramId>c190cc4e-7cb6-483f-b675-2fe74669ab85</ConsumerCardProgramId> <ControlCode>sample string 4</ControlCode> <Description>sample string 3</Description> <DestinationConsumerCardClientId>30e0ab30-ceea-4ab0-8117-f325df3bb1d5</DestinationConsumerCardClientId> <NetworkId>65829c3e-aaf7-485b-825b-7c8ef07247a3</NetworkId> <SiteId>5be1e3ef-4b56-41a8-a8ec-7c8d2de11434</SiteId> <SubAccountId>3b8a5413-1ca3-48ef-b28a-8212b7ff6515</SubAccountId> <Type>Money_Deposit_To_SubAccount</Type> </ConsumerCardMovementDto>