GET api/GetByCode/{text}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
text

string

Required

Body Parameters

None.

Response Information

Resource Description

CodeMaster
NameDescriptionTypeAdditional information
Code

string

None.

Type

string

None.

Name

string

None.

CurrentVersion

integer

None.

Weight

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": "sample string 1",
  "Type": "sample string 2",
  "Name": "sample string 3",
  "CurrentVersion": 4,
  "Weight": "sample string 5"
}

application/xml, text/xml

Sample:
<CodeMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">
  <Code>sample string 1</Code>
  <CurrentVersion>4</CurrentVersion>
  <Name>sample string 3</Name>
  <Type>sample string 2</Type>
  <Weight>sample string 5</Weight>
</CodeMaster>