GET product/disciplines/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

ResultOfDictionaryOfInt32AndString
NameDescriptionTypeAdditional information
Error

boolean

None.

Ok

boolean

None.

Errors

Collection of Error

None.

Data

Dictionary of integer [key] and string [value]

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Error": true,
  "Ok": false,
  "Errors": [
    {
      "Id": "sample string 1",
      "Entity": "sample string 2",
      "Message": "sample string 3"
    },
    {
      "Id": "sample string 1",
      "Entity": "sample string 2",
      "Message": "sample string 3"
    }
  ],
  "Data": {
    "1": "sample string 2",
    "3": "sample string 4"
  },
  "Message": "sample string 3,sample string 3"
}

application/xml, text/xml

Sample:
<ResultOfArrayOfKeyValueOfintstringuHEDJ7Dj xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/jblCommonUtilities.SharedModels">
  <Data xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfintstring>
      <d2p1:Key>1</d2p1:Key>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:KeyValueOfintstring>
    <d2p1:KeyValueOfintstring>
      <d2p1:Key>3</d2p1:Key>
      <d2p1:Value>sample string 4</d2p1:Value>
    </d2p1:KeyValueOfintstring>
  </Data>
  <Error>true</Error>
  <Errors>
    <Error>
      <Entity>sample string 2</Entity>
      <Id>sample string 1</Id>
      <Message>sample string 3</Message>
    </Error>
    <Error>
      <Entity>sample string 2</Entity>
      <Id>sample string 1</Id>
      <Message>sample string 3</Message>
    </Error>
  </Errors>
  <Message>sample string 3,sample string 3</Message>
  <Ok>false</Ok>
</ResultOfArrayOfKeyValueOfintstringuHEDJ7Dj>