Auth Service

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 service username

Password(string): Web service password

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: The ticket given by the system after successful login

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




Parent Topic: RMC REST API


Copyright 2020 Related Digital