GET Server Version

Retrieves the version of the TakeOut server

URI template

v1/Stores/{storeIdentifier}/Server/Version?timeout={timeout}

Request Information

URI Parameters

NameTypeAdditional informationDescription
storeIdentifier integer

Required

The store to send the command to

timeout integer

Default value is 30000

The timeout for this command

Body Parameters

None.

Response Information

Resource Description

GetServerVersionResponse, an IApiResult for the command and a Site Agent version

GetServerVersionResponse
NameTypeAdditional informationDescription
ApiResult StoreApiResponse

None.

The result returned by the Api

ServerVersion string

None.

The TakeOut server version

Response Formats

application/json, text/json

Sample:
{
  "ServerVersion": "14.1.11.389",
  "ApiResult": {
    "$id": "2",
    "TransactionId": "20266ca4-33f3-477e-b5b0-17d6009d17d9",
    "ResultCode": 0,
    "ResultMessage": "Success"
  }
}

application/xml, text/xml

Sample:
<GetServerVersionResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StoreConnect.Responses.ResponseObjects.StoreResponses">
  <ApiResult xmlns:d2p1="http://schemas.datacontract.org/2004/07/StoreConnect.Responses" xmlns="http://schemas.datacontract.org/2004/07/StoreConnect.Responses.ResponseObjects">
    <d2p1:ResultCode>0</d2p1:ResultCode>
    <d2p1:ResultMessage>Success</d2p1:ResultMessage>
    <d2p1:TransactionId>20266ca4-33f3-477e-b5b0-17d6009d17d9</d2p1:TransactionId>
  </ApiResult>
  <ServerVersion>14.1.11.389</ServerVersion>
</GetServerVersionResponse>