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": "5f9717c8-e933-4d48-978d-eca5990bc877",
"ConsumerCardClientId": "5ff7f649-23e0-4063-ab83-c3fbe16e5e56",
"DestinationConsumerCardClientId": "17887ed6-316c-470a-be71-9bd04cfeb5a6",
"NetworkId": "a1236e74-1172-489e-9b84-374366636fb3",
"CompanyContractId": "acd1c292-1d71-4cb1-a42f-77cebda1b34b",
"SubAccountId": "2811da80-1445-4432-b853-48d59f88b66d",
"SiteId": "4c0de1fc-fe87-4834-ae80-6778ca2f370f",
"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>acd1c292-1d71-4cb1-a42f-77cebda1b34b</CompanyContractId> <ConsumerCardClientId>5ff7f649-23e0-4063-ab83-c3fbe16e5e56</ConsumerCardClientId> <ConsumerCardProgramId>5f9717c8-e933-4d48-978d-eca5990bc877</ConsumerCardProgramId> <ControlCode>sample string 4</ControlCode> <Description>sample string 3</Description> <DestinationConsumerCardClientId>17887ed6-316c-470a-be71-9bd04cfeb5a6</DestinationConsumerCardClientId> <NetworkId>a1236e74-1172-489e-9b84-374366636fb3</NetworkId> <SiteId>4c0de1fc-fe87-4834-ae80-6778ca2f370f</SiteId> <SubAccountId>2811da80-1445-4432-b853-48d59f88b66d</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": "f8a27a67-5800-4186-b5e5-fd73c0ec6912",
"ConsumerCardClientId": "672c2697-277b-493f-8592-f0f470986bf1",
"DestinationConsumerCardClientId": "a02cd184-0253-4cd8-ad43-30bbdc747247",
"NetworkId": "9b93e5a5-e4e5-4700-993c-02f61f2023e7",
"CompanyContractId": "e7df5c21-eb85-4810-96be-58e22b891bbf",
"SubAccountId": "510e1c5b-a4c6-44a9-9992-86b0414711bd",
"SiteId": "736a050f-9504-45a0-9c82-528fce80ee0c",
"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>e7df5c21-eb85-4810-96be-58e22b891bbf</CompanyContractId> <ConsumerCardClientId>672c2697-277b-493f-8592-f0f470986bf1</ConsumerCardClientId> <ConsumerCardProgramId>f8a27a67-5800-4186-b5e5-fd73c0ec6912</ConsumerCardProgramId> <ControlCode>sample string 4</ControlCode> <Description>sample string 3</Description> <DestinationConsumerCardClientId>a02cd184-0253-4cd8-ad43-30bbdc747247</DestinationConsumerCardClientId> <NetworkId>9b93e5a5-e4e5-4700-993c-02f61f2023e7</NetworkId> <SiteId>736a050f-9504-45a0-9c82-528fce80ee0c</SiteId> <SubAccountId>510e1c5b-a4c6-44a9-9992-86b0414711bd</SubAccountId> <Type>Money_Deposit_To_SubAccount</Type> </ConsumerCardMovementDto>