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.
ConsumerCardMovementDtoName | 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": "99cbc1ab-cb2e-4cd0-b9f5-6033b7ca1c42", "ConsumerCardClientId": "92c33b5e-4fe9-4b9f-91d4-5e2a3eecc5d9", "DestinationConsumerCardClientId": "eab9e7b8-1216-45c6-9809-a7773854c8cf", "NetworkId": "8cc966df-17f3-4a47-a169-2ccfe7da92c2", "CompanyContractId": "9cfcd73b-74cf-49e8-875d-3d040d40a14a", "SubAccountId": "97f3fcb5-6674-4064-b5ad-eb4fc2de9982", "SiteId": "a81d3fb3-167a-444a-b379-728a9e902407", "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>9cfcd73b-74cf-49e8-875d-3d040d40a14a</CompanyContractId> <ConsumerCardClientId>92c33b5e-4fe9-4b9f-91d4-5e2a3eecc5d9</ConsumerCardClientId> <ConsumerCardProgramId>99cbc1ab-cb2e-4cd0-b9f5-6033b7ca1c42</ConsumerCardProgramId> <ControlCode>sample string 4</ControlCode> <Description>sample string 3</Description> <DestinationConsumerCardClientId>eab9e7b8-1216-45c6-9809-a7773854c8cf</DestinationConsumerCardClientId> <NetworkId>8cc966df-17f3-4a47-a169-2ccfe7da92c2</NetworkId> <SiteId>a81d3fb3-167a-444a-b379-728a9e902407</SiteId> <SubAccountId>97f3fcb5-6674-4064-b5ad-eb4fc2de9982</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.
ConsumerCardMovementDtoName | 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": "f3730e3c-6ed4-46dc-8418-397a8df20d3c", "ConsumerCardClientId": "1395be8e-4e8b-4b99-a74d-acf6db1710d6", "DestinationConsumerCardClientId": "9d931135-e2a1-4f63-b81e-6bdf17f73e49", "NetworkId": "73c4a54e-23e3-466a-b94e-f290822d28c7", "CompanyContractId": "e818888a-5aba-4568-bc9b-7c2ef4d396ef", "SubAccountId": "fe8ebfe8-3e99-4840-b3bf-aa91cf36a26e", "SiteId": "42a8e3ab-c328-4abb-8cb2-aa2bc33d55f9", "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>e818888a-5aba-4568-bc9b-7c2ef4d396ef</CompanyContractId> <ConsumerCardClientId>1395be8e-4e8b-4b99-a74d-acf6db1710d6</ConsumerCardClientId> <ConsumerCardProgramId>f3730e3c-6ed4-46dc-8418-397a8df20d3c</ConsumerCardProgramId> <ControlCode>sample string 4</ControlCode> <Description>sample string 3</Description> <DestinationConsumerCardClientId>9d931135-e2a1-4f63-b81e-6bdf17f73e49</DestinationConsumerCardClientId> <NetworkId>73c4a54e-23e3-466a-b94e-f290822d28c7</NetworkId> <SiteId>42a8e3ab-c328-4abb-8cb2-aa2bc33d55f9</SiteId> <SubAccountId>fe8ebfe8-3e99-4840-b3bf-aa91cf36a26e</SubAccountId> <Type>Money_Deposit_To_SubAccount</Type> </ConsumerCardMovementDto>