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": "60a51923-9cb2-45bd-beba-6bbf5a58a760",
"experimentId": "fbfceadb-928b-418c-a171-5df9e70d2f8a",
"toCrop": 3,
"userName": "sample string 4",
"currentUserPartnerRoleId": "16b55ee1-855a-4921-a8ac-daaa1fbd4ce1",
"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>16b55ee1-855a-4921-a8ac-daaa1fbd4ce1</currentUserPartnerRoleId> <experimentId>fbfceadb-928b-418c-a171-5df9e70d2f8a</experimentId> <locationId>60a51923-9cb2-45bd-beba-6bbf5a58a760</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:
"02b3becb-fd0a-4538-b1f8-85b5b71858af"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">02b3becb-fd0a-4538-b1f8-85b5b71858af</guid>