Search

Page tree
Skip to end of metadata
Go to start of metadata

Login 

URL

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

ECOMM: http://api.relateddigital.com/reste/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: http://api.relateddigital.com/resta/api/auth/logout

ECOMM: http://api.relateddigital.com/reste/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


  • No labels