POST PaymentsMethods

Creates a new paymentsMethod.

Request Information

URI Parameters

None.

Body Parameters

The data of the paymentsMethod.

PaymentsMethodDto
NameDescriptionTypeAdditional 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": "06dfbdb2-e6ec-41bd-bd91-1c15565a2990",
  "NetworkId": "d58b8948-b8f2-41e5-b78f-284b3a147368",
  "Code": "sample string 3",
  "Description": "sample string 4",
  "Total": 1.0,
  "UpdateDate": "2025-04-25T16:08:19.9589033Z"
}

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>06dfbdb2-e6ec-41bd-bd91-1c15565a2990</Id>
  <NetworkId>d58b8948-b8f2-41e5-b78f-284b3a147368</NetworkId>
  <Total>1</Total>
  <UpdateDate>2025-04-25T16:08:19.9589033Z</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.

PaymentsMethodDto
NameDescriptionTypeAdditional 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": "53af62b6-f3ff-4e57-ae0a-cd20d6687407",
  "NetworkId": "80bcf677-a6b0-4c41-af95-0046a98ce748",
  "Code": "sample string 3",
  "Description": "sample string 4",
  "Total": 1.0,
  "UpdateDate": "2025-04-25T16:08:19.9589033Z"
}

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>53af62b6-f3ff-4e57-ae0a-cd20d6687407</Id>
  <NetworkId>80bcf677-a6b0-4c41-af95-0046a98ce748</NetworkId>
  <Total>1</Total>
  <UpdateDate>2025-04-25T16:08:19.9589033Z</UpdateDate>
</PaymentsMethodDto>