POST Api/CompanyMaster/GetCompanyCountry

Request Information

URI Parameters

None.

Body Parameters

CompanyMaster
NameDescriptionTypeAdditional information
id

integer

None.

companyName

string

None.

companyLogo

string

None.

companyContact

string

None.

companyAddress

string

None.

companyEmail

string

None.

companyCityID

integer

None.

companyStateID

integer

None.

companyCountryID

integer

None.

remark

string

None.

opCode

integer

None.

isException

boolean

None.

exceptionMessage

string

None.

DS

DataSet

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "companyName": "sample string 2",
  "companyLogo": "sample string 3",
  "companyContact": "sample string 4",
  "companyAddress": "sample string 5",
  "companyEmail": "sample string 6",
  "companyCityID": 7,
  "companyStateID": 8,
  "companyCountryID": 9,
  "remark": "sample string 10",
  "opCode": 11,
  "isException": true,
  "exceptionMessage": "sample string 13",
  "ds": null
}

application/xml, text/xml

Sample:
<CompanyMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ERAERPAPI.Models">
  <DS i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/DLLUtility" />
  <exceptionMessage xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 13</exceptionMessage>
  <isException xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">true</isException>
  <opCode xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">11</opCode>
  <companyAddress>sample string 5</companyAddress>
  <companyCityID>7</companyCityID>
  <companyContact>sample string 4</companyContact>
  <companyCountryID>9</companyCountryID>
  <companyEmail>sample string 6</companyEmail>
  <companyLogo>sample string 3</companyLogo>
  <companyName>sample string 2</companyName>
  <companyStateID>8</companyStateID>
  <id>1</id>
  <remark>sample string 10</remark>
</CompanyMaster>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CompanyMaster'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.