POST api/Customer/DeleteCustomer
Request Information
URI Parameters
None.
Body Parameters
CustomerProfile| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| CustomerName | string |
None. |
|
| MobileNo | string |
None. |
|
| Address | string |
None. |
|
| NewspaperName | string |
None. |
|
| MultiNewspaperName | string |
None. |
|
| NewspaperQty | integer |
None. |
|
| NewspaperRate | string |
None. |
|
| NewspaperPlan | string |
None. |
|
| AgentName | string |
None. |
|
| AgentID | integer |
None. |
|
| Remark | string |
None. |
|
| Cday | string |
None. |
|
| Cyear | string |
None. |
|
| Cmonth | string |
None. |
|
| CustomerStatus | string |
None. |
|
| OldBalance | string |
None. |
|
| RegDate | string |
None. |
|
| Pin | string |
None. |
|
| TotalAmt | decimal number |
None. |
|
| CompanyId | string |
None. |
|
| Route | string |
None. |
|
| RouteId | integer |
None. |
|
| GeoLocation | string |
None. |
|
| SelectedDays | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"CustomerName": "sample string 2",
"MobileNo": "sample string 3",
"Address": "sample string 4",
"NewspaperName": "sample string 5",
"MultiNewspaperName": "sample string 6",
"NewspaperQty": 7,
"NewspaperRate": "sample string 8",
"NewspaperPlan": "sample string 9",
"AgentName": "sample string 10",
"AgentID": 11,
"Remark": "sample string 12",
"Cday": "sample string 13",
"Cyear": "sample string 14",
"Cmonth": "sample string 15",
"CustomerStatus": "sample string 16",
"OldBalance": "sample string 17",
"RegDate": "sample string 18",
"Pin": "sample string 19",
"TotalAmt": 20.0,
"CompanyId": "sample string 21",
"Route": "sample string 22",
"RouteId": 23,
"GeoLocation": "sample string 24",
"SelectedDays": "sample string 25"
}
application/xml, text/xml
Sample:
<CustomerProfile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewsPaperApi.Models"> <Address>sample string 4</Address> <AgentID>11</AgentID> <AgentName>sample string 10</AgentName> <Cday>sample string 13</Cday> <Cmonth>sample string 15</Cmonth> <CompanyId>sample string 21</CompanyId> <CustomerName>sample string 2</CustomerName> <CustomerStatus>sample string 16</CustomerStatus> <Cyear>sample string 14</Cyear> <GeoLocation>sample string 24</GeoLocation> <Id>1</Id> <MobileNo>sample string 3</MobileNo> <MultiNewspaperName>sample string 6</MultiNewspaperName> <NewspaperName>sample string 5</NewspaperName> <NewspaperPlan>sample string 9</NewspaperPlan> <NewspaperQty>7</NewspaperQty> <NewspaperRate>sample string 8</NewspaperRate> <OldBalance>sample string 17</OldBalance> <Pin>sample string 19</Pin> <RegDate>sample string 18</RegDate> <Remark>sample string 12</Remark> <Route>sample string 22</Route> <RouteId>23</RouteId> <SelectedDays>sample string 25</SelectedDays> <TotalAmt>20</TotalAmt> </CustomerProfile>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | integer |
None. |
|
| Message | string |
None. |
|
| Response | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": 1,
"Message": "sample string 2",
"Response": {}
}
application/xml, text/xml
Sample:
<ResultModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewsPaperApi.Models"> <Message>sample string 2</Message> <Response /> <Status>1</Status> </ResultModel>