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": "61ae4716-021d-4ab0-81f3-1c7956dd7f4d", "ConsumerCardClientId": "4359837a-3ebf-469e-902d-6bf1c78ab0ed", "DestinationConsumerCardClientId": "c89a7879-351a-4812-a594-dfa222940c3b", "NetworkId": "edca162f-ac16-4cd1-8a95-c006e1f57882", "CompanyContractId": "a793bfe8-2f0f-42bb-b497-49bd9806a8bb", "SubAccountId": "b1b70912-efdd-43ef-8e4e-d5e26241192e", "SiteId": "c33c82e4-3de6-472d-837a-6192c4454ead", "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>a793bfe8-2f0f-42bb-b497-49bd9806a8bb</CompanyContractId> <ConsumerCardClientId>4359837a-3ebf-469e-902d-6bf1c78ab0ed</ConsumerCardClientId> <ConsumerCardProgramId>61ae4716-021d-4ab0-81f3-1c7956dd7f4d</ConsumerCardProgramId> <ControlCode>sample string 4</ControlCode> <Description>sample string 3</Description> <DestinationConsumerCardClientId>c89a7879-351a-4812-a594-dfa222940c3b</DestinationConsumerCardClientId> <NetworkId>edca162f-ac16-4cd1-8a95-c006e1f57882</NetworkId> <SiteId>c33c82e4-3de6-472d-837a-6192c4454ead</SiteId> <SubAccountId>b1b70912-efdd-43ef-8e4e-d5e26241192e</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": "a05be651-22bf-4a79-9bc8-5970842e924c", "ConsumerCardClientId": "2e1814de-2d4d-4c5f-b18c-934113e37761", "DestinationConsumerCardClientId": "206775ef-a6c8-4739-beac-cd730bcf5dd1", "NetworkId": "462b0f55-d318-4371-8ad2-e50c0698772d", "CompanyContractId": "4708860f-a0bb-4364-891a-0309d1e9ed8f", "SubAccountId": "fbfe666b-c0a9-4b35-832a-6457d8d36e40", "SiteId": "032d6c3d-d3d3-4f01-8f39-c75604a60f0f", "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>4708860f-a0bb-4364-891a-0309d1e9ed8f</CompanyContractId> <ConsumerCardClientId>2e1814de-2d4d-4c5f-b18c-934113e37761</ConsumerCardClientId> <ConsumerCardProgramId>a05be651-22bf-4a79-9bc8-5970842e924c</ConsumerCardProgramId> <ControlCode>sample string 4</ControlCode> <Description>sample string 3</Description> <DestinationConsumerCardClientId>206775ef-a6c8-4739-beac-cd730bcf5dd1</DestinationConsumerCardClientId> <NetworkId>462b0f55-d318-4371-8ad2-e50c0698772d</NetworkId> <SiteId>032d6c3d-d3d3-4f01-8f39-c75604a60f0f</SiteId> <SubAccountId>fbfe666b-c0a9-4b35-832a-6457d8d36e40</SubAccountId> <Type>Money_Deposit_To_SubAccount</Type> </ConsumerCardMovementDto>