System Services¶
-
Returns the internal build number of the IDL database being queried.
getIDLVersion¶
Method URL¶
/v2/system/getVersion
Type¶
POST
Consumes¶
application/json
Produces¶
application/json
Body Structure¶
public class simpleRequest { public baseRequest baseRequest { get; set; } } public class baseRequest { public long requestReference { get; set; } public DateTime requestPostedTime { get; set; } public string system { get; set; } }
Body Fields¶
| Field | Optional | Description |
|---|---|---|
| requestReference | no | You must provide a unique string identifier for this request |
| requestPostedTime | no | Enter the time of the request |
| system | no | "ecat" must be used to correctly filter allowable products |
Body Example¶
{ "baseRequest": { "requestReference": 0, "requestPostedTime": "2018-11-08T12:06:44.739Z", "system": "string" } }
Response Structure¶
public class versionResponse { public baseResponse baseResponse { get; set; } public string version { get; set; } } public class baseResponse { public baseRequest baseRequest { get; set; } public TimeSpan responseTime { get; set; } public long resultCode { get; set; } public string resultText { get; set; } }
Response Example¶
{ "baseResponse": { "baseRequest": { "requestReference": 0, "requestPostedTime": "2018-11-08T12:06:44.739Z", "system": "string" }, "responseTime": "00:00:01.3674673", "resultCode": 0, "resultText": "success" }, "version": "Halfords | 2019-11-05-12-09" }