Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

...

Token süresi 90 dakikadır. Süresi bittikten sonra yeni isteklerin atılabilmesi için yenilenmesi gerekmektedir.

Login

URL

LIVE: https://api.relateddigital.com/resta/api/auth/login

ECOMM: https://api.relateddigital.com/reste/api/auth/login

LIVEB: https://api.relateddigital.com/liveb_rest/api/auth/login

LIVEM: https://api.relateddigital.com/restm/api/auth/login

Http verb

POST

Parameters


Header

Content-Type: application/json

Body

Username(string): Web servis kullanıcı adı.

Password(string):Web servis şifresi.

Sample Body

{

"UserName" : "",

"Password" :""

}

Sample Response

{

"ServiceTicket": “”

"Success": false,

  "Errors": [

    {

      "Code": "",

      "Message": ""

    }

  ],

"DetailedMessage": ""

"TransactionId": ""

}

Success Response

Status Code: 200

Http Error Response

Status Code: 400 Bad Request

Status Code: 401 Unauthorized

Error Code

00, 04, 41, 72, 99

Logout 

URL

LIVE: https://api.relateddigital.com/resta/api/auth/logout

ECOMM: https://api.relateddigital.com/reste/api/auth/logout

LIVEB: https://api.relateddigital.com/liveb_rest/api/auth/logout

LIVEM: https://api.relateddigital.com/restm/api/auth/logout

Http verb

POST

Parameters


Header

Content-Type: application/json

Authorization: Login aksiyonundan sonra alınan Service Ticket değeri.

Body


Sample Body


Sample Response

{

"ServiceTicket": null

"Success": false,

  "Errors": [

    {

      "Code": "",

      "Message": ""

    }

  ],

"DetailedMessage": ""

"TransactionId": ""

}

Success Response

Status Code: 200

Http Error Response

Status Code: 400 Bad Request

Status Code: 401 Unauthorized

Error Code

00, 01, 99

...