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": "5cfbbc86-5b1f-4edc-8910-6c4fe27a1b9f",
"experimentId": "1f2301b5-0926-43d5-8b0d-44f4111df3e1",
"toCrop": 3,
"userName": "sample string 4",
"currentUserPartnerRoleId": "c0fb2e31-2273-4dfa-9135-b78fe64be7f5",
"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>c0fb2e31-2273-4dfa-9135-b78fe64be7f5</currentUserPartnerRoleId> <experimentId>1f2301b5-0926-43d5-8b0d-44f4111df3e1</experimentId> <locationId>5cfbbc86-5b1f-4edc-8910-6c4fe27a1b9f</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:
"88720cd7-c2f5-4a31-ab0e-f7a0d314962b"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">88720cd7-c2f5-4a31-ab0e-f7a0d314962b</guid>