Login
Initiate a login ping to the system to verify whether the API service is up or not.
Authorization
- Name
Bearer Token- Type
- e865a1e59daa629a8ade53bdae8ae659
- Description
Header
- Name
Content-Type- Type
- application/json
- Description
Body
- Name
raw- Type
- json
- Description
JSON
{ "ServiceName": "Login", "data": { "CustId": "2022040501" } }
Request
POST
https://YOURENDPOINT.virtualrx.co/jsonapi.phpcurl
--location 'https://YOURENDPOINT.virtualrx.co/jsonapi.php' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic WU9VUlVTRVJOQU1FOllPVVJQQVNTV09SRA==' \
--data '{
"ServiceName": "Login",
"data": {
"CustId": "2022040501"
}
}'
Response
{
"ResponseDetails": {
"ServiceName": "Login",
"SessionId": "422739b5-4917-43c9-8387-974c10a507f4",
"StatusCode": "0",
"StatusName": "StatusOK",
"StatusDescription": "NA",
"ServiceDate": "2022-04-06 07:58:24",
"ServiceId": "422739b5-4917-43c9-8387-974c10a507f4"
},
"ResponseParams": ""
}