POST api/addCompany

Request Information

URI Parameters

None.

Body Parameters

Company
NameDescriptionTypeAdditional information
ID

integer

None.

CompanyName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "CompanyName": "sample string 2"
}

text/html

Sample:
{"ID":1,"CompanyName":"sample string 2"}

application/xml, text/xml

Sample:
<Company xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MailAPI">
  <CompanyName>sample string 2</CompanyName>
  <ID>1</ID>
</Company>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of Object

None.

Response Formats

application/json, text/json

Sample:
[
  {},
  {}
]

text/html

Sample:
[{},{}]

application/xml, text/xml

Sample:
<ArrayOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <anyType />
  <anyType />
</ArrayOfanyType>