POST DocumentTypesAccepted

Creates a new Document Types Accepted.

Request Information

URI Parameters

None.

Body Parameters

The data of the Document Types Accepted.

DocumentTypeAcceptedDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

IdNetwork

globally unique identifier

None.

Code

string

None.

Description

string

None.

Validator

boolean

None.

Active

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "7db5655c-49f6-461e-be37-4cac8d46914b",
  "IdNetwork": "1dd82f0d-3597-4474-99e4-0b49520db4f1",
  "Code": "sample string 3",
  "Description": "sample string 4",
  "Validator": true,
  "Active": true
}

application/xml, text/xml

Sample:
<DocumentTypeAcceptedDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ationet.Model">
  <Active>true</Active>
  <Code>sample string 3</Code>
  <Description>sample string 4</Description>
  <Id>7db5655c-49f6-461e-be37-4cac8d46914b</Id>
  <IdNetwork>1dd82f0d-3597-4474-99e4-0b49520db4f1</IdNetwork>
  <Validator>true</Validator>
</DocumentTypeAcceptedDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

State of the action, and if created returns the Document Types Accepted as Document Types Accepted Dto and the link to the Document Types Accepted.

DocumentTypeAcceptedDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

IdNetwork

globally unique identifier

None.

Code

string

None.

Description

string

None.

Validator

boolean

None.

Active

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "e6f63d3b-7e60-4d7d-96bf-39d25431390e",
  "IdNetwork": "adfc4b63-4d55-4f7f-9e80-39e614b6740f",
  "Code": "sample string 3",
  "Description": "sample string 4",
  "Validator": true,
  "Active": true
}

application/xml, text/xml

Sample:
<DocumentTypeAcceptedDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ationet.Model">
  <Active>true</Active>
  <Code>sample string 3</Code>
  <Description>sample string 4</Description>
  <Id>e6f63d3b-7e60-4d7d-96bf-39d25431390e</Id>
  <IdNetwork>adfc4b63-4d55-4f7f-9e80-39e614b6740f</IdNetwork>
  <Validator>true</Validator>
</DocumentTypeAcceptedDto>