POST PaymentsMethods
Creates a new paymentsMethod.
Request Information
URI Parameters
None.
Body Parameters
The data of the paymentsMethod.
PaymentsMethodDtoName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
NetworkId | globally unique identifier |
None. |
|
Code | string |
None. |
|
Description | string |
None. |
|
Total | decimal number |
None. |
|
UpdateDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "b2ca6c0d-f9b0-4db3-84fb-4741566c3ede", "NetworkId": "a5f26eb4-1d99-4a87-9d1c-99e1ad0f4019", "Code": "sample string 3", "Description": "sample string 4", "Total": 1.0, "UpdateDate": "2025-06-12T07:42:11.5376996Z" }
application/xml, text/xml
Sample:
<PaymentsMethodDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ationet.Model"> <Code>sample string 3</Code> <Description>sample string 4</Description> <Id>b2ca6c0d-f9b0-4db3-84fb-4741566c3ede</Id> <NetworkId>a5f26eb4-1d99-4a87-9d1c-99e1ad0f4019</NetworkId> <Total>1</Total> <UpdateDate>2025-06-12T07:42:11.5376996Z</UpdateDate> </PaymentsMethodDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
State of the action, and if created returns the paymentsMethod as PaymentsMethodDto and the link to de paymentsMethod.
PaymentsMethodDtoName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
NetworkId | globally unique identifier |
None. |
|
Code | string |
None. |
|
Description | string |
None. |
|
Total | decimal number |
None. |
|
UpdateDate | date |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": "e06cf300-db39-465f-8fd1-c45a66aff2da", "NetworkId": "025f962a-8a8c-4ad6-b3e0-deaefd1f88be", "Code": "sample string 3", "Description": "sample string 4", "Total": 1.0, "UpdateDate": "2025-06-12T07:42:11.5376996Z" }
application/xml, text/xml
Sample:
<PaymentsMethodDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ationet.Model"> <Code>sample string 3</Code> <Description>sample string 4</Description> <Id>e06cf300-db39-465f-8fd1-c45a66aff2da</Id> <NetworkId>025f962a-8a8c-4ad6-b3e0-deaefd1f88be</NetworkId> <Total>1</Total> <UpdateDate>2025-06-12T07:42:11.5376996Z</UpdateDate> </PaymentsMethodDto>