POST InvoicesTypes
Creates a new invoice type.
Request Information
URI Parameters
None.
Body Parameters
The data of the invoice type.
InvoicesTypeDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Code | string |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| ValidateElectronicAuthorizationCode | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "b680d6b0-f5d3-41f2-a8bf-761281d63c37",
"Code": "sample string 2",
"Name": "sample string 3",
"Description": "sample string 4",
"ValidateElectronicAuthorizationCode": true
}
application/xml, text/xml
Sample:
<InvoicesTypeDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ationet.Model"> <Code>sample string 2</Code> <Description>sample string 4</Description> <Id>b680d6b0-f5d3-41f2-a8bf-761281d63c37</Id> <Name>sample string 3</Name> <ValidateElectronicAuthorizationCode>true</ValidateElectronicAuthorizationCode> </InvoicesTypeDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
State of the action, and if created returns the invoice type as InvoiceTypeDto and the link to de invoice type.
InvoicesTypeDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Code | string |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| ValidateElectronicAuthorizationCode | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": "28bb9526-97f6-4b69-a2d5-f73cd34b5af0",
"Code": "sample string 2",
"Name": "sample string 3",
"Description": "sample string 4",
"ValidateElectronicAuthorizationCode": true
}
application/xml, text/xml
Sample:
<InvoicesTypeDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ationet.Model"> <Code>sample string 2</Code> <Description>sample string 4</Description> <Id>28bb9526-97f6-4b69-a2d5-f73cd34b5af0</Id> <Name>sample string 3</Name> <ValidateElectronicAuthorizationCode>true</ValidateElectronicAuthorizationCode> </InvoicesTypeDto>