POST api/AddSalesReport
Request Information
URI Parameters
None.
Body Parameters
SalesReportModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ReportId | integer |
None. |
|
| SalesmanId | integer |
None. |
|
| Category | string |
None. |
|
| Status | string |
None. |
|
| CustomerName | string |
None. |
|
| Mobile | string |
None. |
|
| Telephone | string |
None. |
|
| string |
None. |
||
| Latitude | decimal number |
None. |
|
| Longitude | decimal number |
None. |
|
| PhotoBase64 | string |
None. |
|
| Remark | string |
None. |
|
| SoftwareExist | string |
None. |
|
| Address | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ReportId": 1,
"SalesmanId": 2,
"Category": "sample string 3",
"Status": "sample string 4",
"CustomerName": "sample string 5",
"Mobile": "sample string 6",
"Telephone": "sample string 7",
"WhatsApp": "sample string 8",
"Latitude": 9.1,
"Longitude": 10.1,
"PhotoBase64": "sample string 11",
"Remark": "sample string 12",
"SoftwareExist": "sample string 13",
"Address": "sample string 14"
}
application/xml, text/xml
Sample:
<SalesReportModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/work_Report_API.Models"> <Address>sample string 14</Address> <Category>sample string 3</Category> <CustomerName>sample string 5</CustomerName> <Latitude>9.1</Latitude> <Longitude>10.1</Longitude> <Mobile>sample string 6</Mobile> <PhotoBase64>sample string 11</PhotoBase64> <Remark>sample string 12</Remark> <ReportId>1</ReportId> <SalesmanId>2</SalesmanId> <SoftwareExist>sample string 13</SoftwareExist> <Status>sample string 4</Status> <Telephone>sample string 7</Telephone> <WhatsApp>sample string 8</WhatsApp> </SalesReportModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.