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": "f01bb027-6a43-4e4c-8554-26ec59657492", "ConsumerCardClientId": "9d7d42ba-3f06-4790-b7e4-5c76f32dd574", "DestinationConsumerCardClientId": "2c615742-e616-40e7-a666-c09273dfaf56", "NetworkId": "d53e13f0-f4d7-4eac-bea2-9d3971d631b5", "CompanyContractId": "4048bf05-278f-499f-89e0-e1c3146ddbac", "SubAccountId": "f9cd9342-4d1f-47d4-b160-b11bdec63c98", "SiteId": "15924ffa-42e4-45a5-9531-d7d315d36b31", "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>4048bf05-278f-499f-89e0-e1c3146ddbac</CompanyContractId> <ConsumerCardClientId>9d7d42ba-3f06-4790-b7e4-5c76f32dd574</ConsumerCardClientId> <ConsumerCardProgramId>f01bb027-6a43-4e4c-8554-26ec59657492</ConsumerCardProgramId> <ControlCode>sample string 4</ControlCode> <Description>sample string 3</Description> <DestinationConsumerCardClientId>2c615742-e616-40e7-a666-c09273dfaf56</DestinationConsumerCardClientId> <NetworkId>d53e13f0-f4d7-4eac-bea2-9d3971d631b5</NetworkId> <SiteId>15924ffa-42e4-45a5-9531-d7d315d36b31</SiteId> <SubAccountId>f9cd9342-4d1f-47d4-b160-b11bdec63c98</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": "45c6c150-aec9-456c-82cd-6431a15e3e16", "ConsumerCardClientId": "8c73583d-fdd7-4dde-ad0f-5a39f38a165a", "DestinationConsumerCardClientId": "9b848f70-cea6-4b27-b80e-c5aee89a3b96", "NetworkId": "0ccbe347-1eb4-4723-b64e-404a7dfff6d8", "CompanyContractId": "b9b10fd2-02c2-4991-af26-1f2e5666f83a", "SubAccountId": "52e72bc4-02d6-43f9-8266-935c888493c5", "SiteId": "bc075840-bf70-42c6-b187-c98bbd262ea5", "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>b9b10fd2-02c2-4991-af26-1f2e5666f83a</CompanyContractId> <ConsumerCardClientId>8c73583d-fdd7-4dde-ad0f-5a39f38a165a</ConsumerCardClientId> <ConsumerCardProgramId>45c6c150-aec9-456c-82cd-6431a15e3e16</ConsumerCardProgramId> <ControlCode>sample string 4</ControlCode> <Description>sample string 3</Description> <DestinationConsumerCardClientId>9b848f70-cea6-4b27-b80e-c5aee89a3b96</DestinationConsumerCardClientId> <NetworkId>0ccbe347-1eb4-4723-b64e-404a7dfff6d8</NetworkId> <SiteId>bc075840-bf70-42c6-b187-c98bbd262ea5</SiteId> <SubAccountId>52e72bc4-02d6-43f9-8266-935c888493c5</SubAccountId> <Type>Money_Deposit_To_SubAccount</Type> </ConsumerCardMovementDto>