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": "819dd498-488c-46df-9db9-c5a54a90dab0",
"ConsumerCardClientId": "041228dc-5aa1-4998-b919-610826f08876",
"DestinationConsumerCardClientId": "202ae890-df04-4e88-83eb-c75c2c00f6ba",
"NetworkId": "cf7e9525-0d44-4168-8b68-1c21f1f2883f",
"CompanyContractId": "642aa8eb-27a6-47dc-afc3-e305bf64c04f",
"SubAccountId": "a7b6ba83-4e79-40d9-b63d-bbec61b04aeb",
"SiteId": "fca3ae97-8b27-4dd5-bece-30c976349d14",
"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>642aa8eb-27a6-47dc-afc3-e305bf64c04f</CompanyContractId> <ConsumerCardClientId>041228dc-5aa1-4998-b919-610826f08876</ConsumerCardClientId> <ConsumerCardProgramId>819dd498-488c-46df-9db9-c5a54a90dab0</ConsumerCardProgramId> <ControlCode>sample string 4</ControlCode> <Description>sample string 3</Description> <DestinationConsumerCardClientId>202ae890-df04-4e88-83eb-c75c2c00f6ba</DestinationConsumerCardClientId> <NetworkId>cf7e9525-0d44-4168-8b68-1c21f1f2883f</NetworkId> <SiteId>fca3ae97-8b27-4dd5-bece-30c976349d14</SiteId> <SubAccountId>a7b6ba83-4e79-40d9-b63d-bbec61b04aeb</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": "9072323c-3cca-4297-a727-3fb87db54ed9",
"ConsumerCardClientId": "73c90b90-5a56-431e-8cde-b3da8a8f3bbc",
"DestinationConsumerCardClientId": "a5f7b7bf-4774-4b90-8874-2cdea1e52dfa",
"NetworkId": "27228070-513d-453d-bb93-ae62a2df1619",
"CompanyContractId": "c72ef1a0-1bbb-4ee0-8f27-133e47a258f2",
"SubAccountId": "3f67d838-61df-4b18-9de3-eef8b7c42c16",
"SiteId": "ff363a4a-a661-4f54-9984-10e247bc29e9",
"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>c72ef1a0-1bbb-4ee0-8f27-133e47a258f2</CompanyContractId> <ConsumerCardClientId>73c90b90-5a56-431e-8cde-b3da8a8f3bbc</ConsumerCardClientId> <ConsumerCardProgramId>9072323c-3cca-4297-a727-3fb87db54ed9</ConsumerCardProgramId> <ControlCode>sample string 4</ControlCode> <Description>sample string 3</Description> <DestinationConsumerCardClientId>a5f7b7bf-4774-4b90-8874-2cdea1e52dfa</DestinationConsumerCardClientId> <NetworkId>27228070-513d-453d-bb93-ae62a2df1619</NetworkId> <SiteId>ff363a4a-a661-4f54-9984-10e247bc29e9</SiteId> <SubAccountId>3f67d838-61df-4b18-9de3-eef8b7c42c16</SubAccountId> <Type>Money_Deposit_To_SubAccount</Type> </ConsumerCardMovementDto>