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": "84fa4bf4-1d73-41e3-b14b-1d6fdd1676cb",
"ConsumerCardClientId": "614b75d2-8c77-4452-a2be-2f7c0e11ea64",
"DestinationConsumerCardClientId": "0cc5b9b6-9408-4a2c-b5c1-be4a76d243d6",
"NetworkId": "7c6dc952-f26d-4385-97a9-f26bc43e8bd8",
"CompanyContractId": "b9fb57eb-4309-4b2e-bea2-b526f29ce340",
"SubAccountId": "b45a37df-df01-492e-8468-33798fcf56bd",
"SiteId": "07cf6f9d-72ba-46f2-9561-db679f81c140",
"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>b9fb57eb-4309-4b2e-bea2-b526f29ce340</CompanyContractId> <ConsumerCardClientId>614b75d2-8c77-4452-a2be-2f7c0e11ea64</ConsumerCardClientId> <ConsumerCardProgramId>84fa4bf4-1d73-41e3-b14b-1d6fdd1676cb</ConsumerCardProgramId> <ControlCode>sample string 4</ControlCode> <Description>sample string 3</Description> <DestinationConsumerCardClientId>0cc5b9b6-9408-4a2c-b5c1-be4a76d243d6</DestinationConsumerCardClientId> <NetworkId>7c6dc952-f26d-4385-97a9-f26bc43e8bd8</NetworkId> <SiteId>07cf6f9d-72ba-46f2-9561-db679f81c140</SiteId> <SubAccountId>b45a37df-df01-492e-8468-33798fcf56bd</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": "dda20236-31ee-4202-aa69-400622714f07",
"ConsumerCardClientId": "4295f6df-43b8-415c-936d-c7fe323995fa",
"DestinationConsumerCardClientId": "f39e7416-7103-476a-b1f1-d9f0563c8926",
"NetworkId": "697d77d8-7a66-4e0b-bf61-ea0b2b091cd7",
"CompanyContractId": "8afd2c7a-e24b-44fb-bbbb-c8a2c47f9038",
"SubAccountId": "255faa5b-b832-432e-859a-eca8389332c5",
"SiteId": "852aaccc-a9d7-41c9-b9e7-b085e95d3f11",
"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>8afd2c7a-e24b-44fb-bbbb-c8a2c47f9038</CompanyContractId> <ConsumerCardClientId>4295f6df-43b8-415c-936d-c7fe323995fa</ConsumerCardClientId> <ConsumerCardProgramId>dda20236-31ee-4202-aa69-400622714f07</ConsumerCardProgramId> <ControlCode>sample string 4</ControlCode> <Description>sample string 3</Description> <DestinationConsumerCardClientId>f39e7416-7103-476a-b1f1-d9f0563c8926</DestinationConsumerCardClientId> <NetworkId>697d77d8-7a66-4e0b-bf61-ea0b2b091cd7</NetworkId> <SiteId>852aaccc-a9d7-41c9-b9e7-b085e95d3f11</SiteId> <SubAccountId>255faa5b-b832-432e-859a-eca8389332c5</SubAccountId> <Type>Money_Deposit_To_SubAccount</Type> </ConsumerCardMovementDto>