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": "66c3cb07-41a7-4188-8b85-6b01cc29d04e",
"experimentId": "5387fb46-ddd8-4466-94b8-57d95afb0875",
"toCrop": 3,
"userName": "sample string 4",
"currentUserPartnerRoleId": "4b2da478-96d6-495d-b7f3-f069e21bb6af",
"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>4b2da478-96d6-495d-b7f3-f069e21bb6af</currentUserPartnerRoleId> <experimentId>5387fb46-ddd8-4466-94b8-57d95afb0875</experimentId> <locationId>66c3cb07-41a7-4188-8b85-6b01cc29d04e</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:
"76bf22bb-8ecf-4c9c-a8cf-2eae3cbf4949"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">76bf22bb-8ecf-4c9c-a8cf-2eae3cbf4949</guid>