Logo
1P Team API Documentation

Tally Response

POST https://apiv2.1pharmacy.io/test/tally_response

Pass requests acknowledgement data in the body to sync the changes in 1P

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
sec-ch-ua
string
responseType
string
sec-ch-ua-mobile
string
User-Agent
string
Content-Type
string
Accept
string
Referer
string
x-web-version
number
session-token
string
sec-ch-ua-platform
string




RESPONSES

status OK

{ "data": { "userMessage": "Tally response updated successfully" }, "statusCode": 200 }



Curl
curl -X POST 'https://apiv2.1pharmacy.io/test/tally_response' -H 'sec-ch-ua: "Chromium";v="128", "Not;A=Brand";v="24", "Google Chrome";v="128"' -H 'responseType: json' -H 'sec-ch-ua-mobile: ?0' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36' -H 'Content-Type: application/json' -H 'Accept: application/json' -H 'Referer: https://ros.1pharmacy.io/' -H 'x-web-version: 464' -H 'session-token: tokena92bf3d6-c0ae-439e-a63b-bd80b49c448b' -H 'sec-ch-ua-platform: "macOS"' -d '{"acknowledgments":[{"clientId":"d3b10a34-1d34-11ec-bca6-13abd677b4a7","status":"Failure","tallyMsg":"","voucherId":"","timestamp":"2024-09-18T15:31:06Z"}],"totalCount":1,"failedCount":1,"successfulCount":0}'

ENDPOINTS