TECHCOMM API DOC
  1. POS Interface
Landing
  • Landing
  • POS Interface
    • CompPost
      POST
    • CompVoid
      POST
  1. POS Interface

CompPost

Developing
POST
https://dev.your-api-server.com/CompPost

Request

Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
,whose value is to concatenate the Token after the Bearer.
Example:
Authorization: Bearer ********************
or
Body Params application/jsonRequired

Examples

Responses

🟢201Success
application/json
Body

🟠400Bad Request
🟠401Unauthorized
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://dev.your-api-server.com/CompPost' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "transDate": "2026-01-01 12:00:00.0",
    "property": "JSW",
    "location": "POS 1",
    "openCheckNum": "CHECK#123",
    "patronAccount": 88800277000,
    "compCode": "1725_GM3",
    "compAmount": "33000.00",
    "disbursementAmount": 33000.00,
    "revenueCenter": "F&B",
    "staffID": "12345678"
}'
Response Response Example
201 - Example 1
{
    "result": "Created"
}
Next
CompVoid
Built with