POST api/Agency/DeleteAgency
Request Information
URI Parameters
None.
Body Parameters
Agency| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| Address | string |
None. |
|
| Mobile | string |
None. |
|
| Avatar | string |
None. |
|
| Status | integer |
None. |
|
| string |
None. |
||
| Lever | integer |
None. |
|
| Code | string |
None. |
|
| NameSearch | string |
None. |
|
| ParentId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Name": "sample string 2",
"Address": "sample string 3",
"Mobile": "sample string 4",
"Avatar": "sample string 5",
"Status": 1,
"Email": "sample string 6",
"Lever": 1,
"Code": "sample string 7",
"NameSearch": "sample string 8",
"ParentId": 1
}
application/xml, text/xml
Sample:
<Agency xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMSApi.Model"> <Address>sample string 3</Address> <Avatar>sample string 5</Avatar> <Code>sample string 7</Code> <Email>sample string 6</Email> <Id>1</Id> <Lever>1</Lever> <Mobile>sample string 4</Mobile> <Name>sample string 2</Name> <NameSearch>sample string 8</NameSearch> <ParentId>1</ParentId> <Status>1</Status> </Agency>
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.