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": "fe4f2cb1-425f-4823-b30d-7947c3fcb950",
"experimentId": "33d2bff8-def1-4a61-ae1c-234f23c39620",
"toCrop": 3,
"userName": "sample string 4",
"currentUserPartnerRoleId": "10bbf605-fdbb-4e65-8f4b-ef8ce2667706",
"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>10bbf605-fdbb-4e65-8f4b-ef8ce2667706</currentUserPartnerRoleId> <experimentId>33d2bff8-def1-4a61-ae1c-234f23c39620</experimentId> <locationId>fe4f2cb1-425f-4823-b30d-7947c3fcb950</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:
"50180b1b-542e-480a-b7c3-16e38c798058"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">50180b1b-542e-480a-b7c3-16e38c798058</guid>