POST api/my/basura/sites
Request Information
URI Parameters
None.
Body Parameters
SitesCreateNewDTOName | Description | Type | Additional information |
---|---|---|---|
name | string |
None. |
|
address | string |
None. |
|
latitude | decimal number |
None. |
|
longitude | decimal number |
None. |
|
typeId | integer |
None. |
|
createdBy | integer |
None. |
|
createdDate | 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, "createdBy": 1, "createdDate": "2025-07-13T18:51:51.1840238+08:00" }
application/xml, text/xml
Sample:
<SitesCreateNewDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.DTO"> <address>sample string 2</address> <createdBy>1</createdBy> <createdDate>2025-07-13T18:51:51.1840238+08:00</createdDate> <latitude>1.1</latitude> <longitude>1.1</longitude> <name>sample string 1</name> <typeId>1</typeId> </SitesCreateNewDTO>
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.