GET api/Version

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

ServiceResponseOfVersion
NameDescriptionTypeAdditional information
Code

ResponseTypeCode

None.

ResponseType

string

None.

ContentType

string

None.

Content

Version

None.

ServiceMessages

Collection of ServiceMessage

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": 0,
  "ResponseType": "Success",
  "ContentType": "System.Version",
  "Content": {
    "_Major": 0,
    "_Minor": 0,
    "_Build": -1,
    "_Revision": -1
  },
  "ServiceMessages": [
    {
      "Code": 0,
      "MessageType": "Info",
      "MessageDescription": "sample string 1"
    },
    {
      "Code": 0,
      "MessageType": "Info",
      "MessageDescription": "sample string 1"
    }
  ]
}

application/xml, text/xml

Sample:
<ServiceResponseOfVersion5F2dSckg xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HRCI.Services.LearningCenter.BL.Services.Model">
  <Code>Success</Code>
  <Content xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:_Build>-1</d2p1:_Build>
    <d2p1:_Major>0</d2p1:_Major>
    <d2p1:_Minor>0</d2p1:_Minor>
    <d2p1:_Revision>-1</d2p1:_Revision>
  </Content>
  <ServiceMessages>
    <ServiceMessage>
      <Code>Info</Code>
      <MessageDescription>sample string 1</MessageDescription>
    </ServiceMessage>
    <ServiceMessage>
      <Code>Info</Code>
      <MessageDescription>sample string 1</MessageDescription>
    </ServiceMessage>
  </ServiceMessages>
</ServiceResponseOfVersion5F2dSckg>