PUT api/my/basura/barangays/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
BarangaysCreateUpdateDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| provinceid | integer |
None. |
|
| cityid | integer |
None. |
|
| barangay | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"provinceid": 1,
"cityid": 2,
"barangay": "sample string 3"
}
application/xml, text/xml
Sample:
<BarangaysCreateUpdateDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.DTO"> <barangay>sample string 3</barangay> <cityid>2</cityid> <provinceid>1</provinceid> </BarangaysCreateUpdateDTO>
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.