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": "3174a171-0802-4e07-a76f-cfa493bb97a8",
"experimentId": "1384b19b-c99c-4945-8697-421c7aab958e",
"toCrop": 3,
"userName": "sample string 4",
"currentUserPartnerRoleId": "0eaed66e-2a99-4b54-9605-311e5ab11395",
"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>0eaed66e-2a99-4b54-9605-311e5ab11395</currentUserPartnerRoleId> <experimentId>1384b19b-c99c-4945-8697-421c7aab958e</experimentId> <locationId>3174a171-0802-4e07-a76f-cfa493bb97a8</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:
"56d255eb-2e75-47e2-bec7-ea639653f20b"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">56d255eb-2e75-47e2-bec7-ea639653f20b</guid>