POST Location/ChangeLocationCrop
Request Information
URI Parameters
None.
Body Parameters
ChangeLocationCropInput| Name | Description | Type | Additional information |
|---|---|---|---|
| locationId | globally unique identifier |
None. |
|
| experimentId | globally unique identifier |
None. |
|
| toCrop | integer |
None. |
|
| userName | string |
None. |
|
| currentUserPartnerRoleId | globally unique identifier |
None. |
|
| roleId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"locationId": "8f6fddf8-39cf-4115-9fc2-f754ed44d85d",
"experimentId": "8f2c1d45-61ae-4397-aef5-272da2fd2174",
"toCrop": 3,
"userName": "sample string 4",
"currentUserPartnerRoleId": "6d571ad0-a6a4-42cb-8ef1-66f4ebcf170c",
"roleId": 6
}
application/xml, text/xml
Sample:
<LocationController.ChangeLocationCropInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.TrialsAPIServices.Controllers"> <currentUserPartnerRoleId>6d571ad0-a6a4-42cb-8ef1-66f4ebcf170c</currentUserPartnerRoleId> <experimentId>8f2c1d45-61ae-4397-aef5-272da2fd2174</experimentId> <locationId>8f6fddf8-39cf-4115-9fc2-f754ed44d85d</locationId> <roleId>6</roleId> <toCrop>3</toCrop> <userName>sample string 4</userName> </LocationController.ChangeLocationCropInput>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
globally unique identifierResponse Formats
application/json, text/json
Sample:
"d3128a0d-a17e-46c9-bae6-5ad48774284f"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">d3128a0d-a17e-46c9-bae6-5ad48774284f</guid>