POST api/GActivity/Asset/PostSchoolSiteList?UserID={UserID}&Track={Track}&VersionName={VersionName}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| UserID | string |
Required |
|
| Track | boolean |
Default value is False |
|
| VersionName | string |
None. |
Body Parameters
SchoolSiteList| Name | Description | Type | Additional information |
|---|---|---|---|
| schoolSiteList | Collection of SchoolSite |
None. |
Request Formats
application/json, text/json, text/html
Sample:
{
"schoolSiteList": [
{
"UserID": 1,
"InstitutionId": 2,
"SiteNo": "sample string 3",
"GDOC": "sample string 4"
},
{
"UserID": 1,
"InstitutionId": 2,
"SiteNo": "sample string 3",
"GDOC": "sample string 4"
}
]
}
application/xml, text/xml
Sample:
<SchoolSiteList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FieldAppWebAPi.Models">
<schoolSiteList>
<SchoolSite>
<GDOC>sample string 4</GDOC>
<InstitutionId>2</InstitutionId>
<SiteNo>sample string 3</SiteNo>
<UserID>1</UserID>
</SchoolSite>
<SchoolSite>
<GDOC>sample string 4</GDOC>
<InstitutionId>2</InstitutionId>
<SiteNo>sample string 3</SiteNo>
<UserID>1</UserID>
</SchoolSite>
</schoolSiteList>
</SchoolSiteList>
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. |