GET api/Company/{id}?p_companyId={p_companyId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
p_companyId

integer

Required

id

string

None.

Body Parameters

pdmCompanyInfoType
NameDescriptionTypeAdditional information
ID

integer

None.

Label

string

None.

Type

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Label": "sample string 2",
  "Type": 3
}

text/html

Sample:
{"ID":1,"Label":"sample string 2","Type":3}

application/xml, text/xml

Sample:
<pdmCompanyInfoType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TptLinqToSql">
  <ID>1</ID>
  <Label>sample string 2</Label>
  <Type>3</Type>
</pdmCompanyInfoType>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

pdmCompanyInfo
NameDescriptionTypeAdditional information
ID

integer

None.

CompanyId

integer

None.

InfoId

integer

None.

Value

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "CompanyId": 2,
  "InfoId": 3,
  "Value": "sample string 4"
}

text/html

Sample:
{"ID":1,"CompanyId":2,"InfoId":3,"Value":"sample string 4"}

application/xml, text/xml

Sample:
<pdmCompanyInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TptLinqToSql">
  <CompanyId>2</CompanyId>
  <ID>1</ID>
  <InfoId>3</InfoId>
  <Value>sample string 4</Value>
</pdmCompanyInfo>