Churpy_Etims (1.0)

Churpy_Etims Public API

Download OpenAPI description
Languages
Servers
Mock server
https://docs-etims.churpy.co/_mock/openapi/
API
https://etims.churpy.co/

Branches

Operations

Get a list of business branches

Request

Get a list of business branches

curl -i -X GET \
  https://docs-etims.churpy.co/_mock/openapi/branches \
  -H 'X-API-Key: YOUR_API_KEY_HERE'

Responses

Success

Bodyapplication/json
paginationobject
dataArray of objects
Response
application/json
{ "pagination": { "total_count": 100, "total_pages": 10, "current_page": 1, "limit": 10, "has_next": true }, "data": [ { … } ] }

Add branch user

Request

Add branch user

Bodyapplication/jsonrequired
user_idstring

User ID

Example: "123456"
user_namestring

User Name

Example: "John Doe"
passwordstring

Password

Example: "123456"
curl -i -X POST \
  https://docs-etims.churpy.co/_mock/openapi/branches/user \
  -H 'Content-Type: application/json' \
  -H 'X-API-Key: YOUR_API_KEY_HERE' \
  -d '{
    "user_id": "123456",
    "user_name": "John Doe",
    "password": "123456"
  }'

Responses

Success

Bodyapplication/json
user_idstring

User ID

Example: 123456
user_namestring

User Name

Example: "John Doe"
passwordstring

Password

Example: 123456
Response
application/json
{ "user_id": 123456, "user_name": "John Doe", "password": 123456 }

Add branch insurance

Request

Add branch insurance

Bodyapplication/jsonrequired
insurance_namestring

Insurance Name

Example: "Insurance Name"
insurance_codestring

Insurance Code

Example: 123456
premium_ratenumber

Premium Rate

Example: 10
curl -i -X POST \
  https://docs-etims.churpy.co/_mock/openapi/branches/insurance \
  -H 'Content-Type: application/json' \
  -H 'X-API-Key: YOUR_API_KEY_HERE' \
  -d '{
    "insurance_name": "Insurance Name",
    "insurance_code": 123456,
    "premium_rate": 10
  }'

Responses

Success

Bodyapplication/json
insurance_namestring

Insurance Name

Example: "Insurance Name"
insurance_codestring

Insurance Code

Example: 123456
premium_ratenumber

Premium Rate

Example: 10
idstring

Insurance ID

Example: "9oSPDfnIfU"
Response
application/json
{ "insurance_name": "Insurance Name", "insurance_code": 123456, "premium_rate": 10, "id": "9oSPDfnIfU" }

Customers

Operations

Items

Operations

Notices

Operations

Purchases

Operations

Sales

Operations

Stock

Operations