POST api/UploadXML/PostXmlFile
Request Information
URI Parameters
None.
Body Parameters
Collection of PropertyDataMapsDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| BranchId | integer |
None. |
|
| EmployeeId | integer |
None. |
|
| Lat | string |
None. |
|
| Long | string |
None. |
|
| CreateDate | string |
None. |
|
| Time | string |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"BranchId": 2,
"EmployeeId": 3,
"Lat": "sample string 4",
"Long": "sample string 5",
"CreateDate": "sample string 6",
"Time": "sample string 7"
},
{
"Id": 1,
"BranchId": 2,
"EmployeeId": 3,
"Lat": "sample string 4",
"Long": "sample string 5",
"CreateDate": "sample string 6",
"Time": "sample string 7"
}
]
application/xml, text/xml
Sample:
<ArrayOfPropertyDataMapsDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProjectServicesAPI.DTO">
<PropertyDataMapsDTO>
<BranchId>2</BranchId>
<CreateDate>sample string 6</CreateDate>
<EmployeeId>3</EmployeeId>
<Id>1</Id>
<Lat>sample string 4</Lat>
<Long>sample string 5</Long>
<Time>sample string 7</Time>
</PropertyDataMapsDTO>
<PropertyDataMapsDTO>
<BranchId>2</BranchId>
<CreateDate>sample string 6</CreateDate>
<EmployeeId>3</EmployeeId>
<Id>1</Id>
<Lat>sample string 4</Lat>
<Long>sample string 5</Long>
<Time>sample string 7</Time>
</PropertyDataMapsDTO>
</ArrayOfPropertyDataMapsDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |