POST api/PostSaveScrapedReportsToDb?pilotID={pilotID}&source={source}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
pilotID | integer |
Required |
|
source | string |
None. |
Body Parameters
Collection of ReportsOutName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
reportType | string |
None. |
|
report | string |
None. |
Request Formats
application/json, text/json
Sample:
[ { "ID": 1, "reportType": "sample string 2", "report": "sample string 3" }, { "ID": 1, "reportType": "sample string 2", "report": "sample string 3" } ]
text/xml
Sample:
<ArrayOfReportsOut xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PilotPay.Models"> <ReportsOut> <ID>1</ID> <report>sample string 3</report> <reportType>sample string 2</reportType> </ReportsOut> <ReportsOut> <ID>1</ID> <report>sample string 3</report> <reportType>sample string 2</reportType> </ReportsOut> </ArrayOfReportsOut>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/xml
Sample:
Sample not available.