POST api/Dados/OfficeCrud

Request Information

URI Parameters

None.

Body Parameters

cEntityOffice
NameDescriptionTypeAdditional information
id

integer

None.

Name

string

None.

Adress

string

None.

Postal_code

string

None.

Telephone

string

None.

Email

string

None.

NIF

string

None.

City

string

None.

Latitude

string

None.

Longitude

string

None.

Pais

string

None.

_SendCredentials

string

None.

_Action

string

None.

hasError

boolean

None.

hasErrorMessage

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "Name": "sample string 2",
  "Adress": "sample string 3",
  "Postal_code": "sample string 4",
  "Telephone": "sample string 5",
  "Email": "sample string 6",
  "NIF": "sample string 7",
  "City": "sample string 8",
  "Latitude": "sample string 9",
  "Longitude": "sample string 10",
  "Pais": "sample string 11",
  "_SendCredentials": "sample string 12",
  "_Action": "sample string 13",
  "hasError": true,
  "hasErrorMessage": "sample string 15"
}

application/xml, text/xml

Sample:
<cTables.cEntityOffice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/wsgest">
  <Adress>sample string 3</Adress>
  <City>sample string 8</City>
  <Email>sample string 6</Email>
  <Latitude>sample string 9</Latitude>
  <Longitude>sample string 10</Longitude>
  <NIF>sample string 7</NIF>
  <Name>sample string 2</Name>
  <Pais>sample string 11</Pais>
  <Postal_code>sample string 4</Postal_code>
  <Telephone>sample string 5</Telephone>
  <_Action>sample string 13</_Action>
  <_SendCredentials>sample string 12</_SendCredentials>
  <hasError>true</hasError>
  <hasErrorMessage>sample string 15</hasErrorMessage>
  <id>1</id>
</cTables.cEntityOffice>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

cEntityOffice
NameDescriptionTypeAdditional information
id

integer

None.

Name

string

None.

Adress

string

None.

Postal_code

string

None.

Telephone

string

None.

Email

string

None.

NIF

string

None.

City

string

None.

Latitude

string

None.

Longitude

string

None.

Pais

string

None.

_SendCredentials

string

None.

_Action

string

None.

hasError

boolean

None.

hasErrorMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "Name": "sample string 2",
  "Adress": "sample string 3",
  "Postal_code": "sample string 4",
  "Telephone": "sample string 5",
  "Email": "sample string 6",
  "NIF": "sample string 7",
  "City": "sample string 8",
  "Latitude": "sample string 9",
  "Longitude": "sample string 10",
  "Pais": "sample string 11",
  "_SendCredentials": "sample string 12",
  "_Action": "sample string 13",
  "hasError": true,
  "hasErrorMessage": "sample string 15"
}

application/xml, text/xml

Sample:
<cTables.cEntityOffice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/wsgest">
  <Adress>sample string 3</Adress>
  <City>sample string 8</City>
  <Email>sample string 6</Email>
  <Latitude>sample string 9</Latitude>
  <Longitude>sample string 10</Longitude>
  <NIF>sample string 7</NIF>
  <Name>sample string 2</Name>
  <Pais>sample string 11</Pais>
  <Postal_code>sample string 4</Postal_code>
  <Telephone>sample string 5</Telephone>
  <_Action>sample string 13</_Action>
  <_SendCredentials>sample string 12</_SendCredentials>
  <hasError>true</hasError>
  <hasErrorMessage>sample string 15</hasErrorMessage>
  <id>1</id>
</cTables.cEntityOffice>