0% found this document useful (0 votes)
30 views2 pages

Updated API Document

This document summarizes an API for submitting weigh bridge entry data. The API endpoint is for inserting weigh bridge data and requires a POST request to a specific URL. It accepts various parameters like access key, processed ID, material ID, ULB ID, vehicle number, dates, weights, images and disposed at location. On success, it returns a status code of 200 with success message, and on failure it returns a status code of 100 with validation error details.

Uploaded by

bhanu.vmax
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
30 views2 pages

Updated API Document

This document summarizes an API for submitting weigh bridge entry data. The API endpoint is for inserting weigh bridge data and requires a POST request to a specific URL. It accepts various parameters like access key, processed ID, material ID, ULB ID, vehicle number, dates, weights, images and disposed at location. On success, it returns a status code of 200 with success message, and on failure it returns a status code of 100 with validation error details.

Uploaded by

bhanu.vmax
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Weigh bridge entry API document

End point: https://telangana.emunicipal.in/api/zds/

Service name: insert-weighbridge-data

Method: POST

Parameter name Data type Possible values


access_key varchar fddse454152zds Mandatory

processed_id integer 1- Processed Mandatory


Outputs(Use)
2- Disposal of
treated
Outputs(Non
use)

3- Legacy
Waste in
'MT' ( If
selected
legacy waste
no need to
send
material_id)

material_id integer If selected


If Processed outputs Legacy Waste
selected need to
send 1-5 any id . Not Mandatory

1- Bio Soils
2- C&D Userful
inerts
3- Plastic and
Paper
4- Metal
5- Other Inerts

If Disposal of treated
outputs selected.
Then need to send
1-5 any id

1- Bio Soils
2- C&D Userful
inerts
3- Plastic and
Paper
4- Metal
5- Other Inerts

If Legacy Waste is
selected.
Then need to send 6
as “Legacy”
ulbid varchar In attachment ulbids Mandatory
along with ulb names
are given
vehicle_no varchar Mandatory
date_in Date Mandatory
time_in Time Mandatory
date_out Date Mandatory
time_out Time Mandatory
site_id varchar Mandatory
net_weight float Mandatory
gross_weight float Mandatory
tare_weight float Mandatory
record_dt_tm Datetime API hitting datetime Mandatory
(Timestamp)
trn_no integer Mandatory
first_front_image Image Not Mandatory
first_back_image Image Not Mandatory
second_front_image Image Not Mandatory
second_back_image Image Not Mandatory
disposed_at varchar Mandatory only
on Disposal of
treated
Outputs(Nonuse)

Response

Success : {"status_code":"200","message":"success"}

Failed : {"errors":[{"headers":{},"original":{"site_id":["site id
required."]},"exception":null}],"status_code":"100","message":"Validation fail"}

You might also like