PUT api/my/basura/sites/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
SitesUpdateNewDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| name | string |
None. |
|
| address | string |
None. |
|
| latitude | decimal number |
None. |
|
| longitude | decimal number |
None. |
|
| typeId | integer |
None. |
|
| isActive | boolean |
None. |
|
| updatedBy | integer |
None. |
|
| updatedDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"name": "sample string 1",
"address": "sample string 2",
"latitude": 1.1,
"longitude": 1.1,
"typeId": 1,
"isActive": true,
"updatedBy": 1,
"updatedDate": "2025-10-25T15:40:04.2077303+08:00"
}
application/xml, text/xml
Sample:
<SitesUpdateNewDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.DTO"> <address>sample string 2</address> <isActive>true</isActive> <latitude>1.1</latitude> <longitude>1.1</longitude> <name>sample string 1</name> <typeId>1</typeId> <updatedBy>1</updatedBy> <updatedDate>2025-10-25T15:40:04.2077303+08:00</updatedDate> </SitesUpdateNewDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.