GET api/Company?companyCode={companyCode}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
companyCode

string

Required

Body Parameters

None.

Response Information

Resource Description

CompanyDTO
NameDescriptionTypeAdditional information
Id

integer

None.

CompanyCode

string

Required

String length: inclusive between 0 and 10

ManifestCode

string

Required

String length: inclusive between 0 and 10

CompanyName

string

Required

String length: inclusive between 0 and 50

BrandName

string

Required

String length: inclusive between 0 and 50

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "CompanyCode": "sample string 2",
  "ManifestCode": "sample string 3",
  "CompanyName": "sample string 4",
  "BrandName": "sample string 5"
}

application/xml, text/xml

Sample:
<CompanyDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PureWayVendorApi.Models">
  <BrandName>sample string 5</BrandName>
  <CompanyCode>sample string 2</CompanyCode>
  <CompanyName>sample string 4</CompanyName>
  <Id>1</Id>
  <ManifestCode>sample string 3</ManifestCode>
</CompanyDTO>