POST Location/ChangeLocationCrop

Request Information

URI Parameters

None.

Body Parameters

ChangeLocationCropInput
NameDescriptionTypeAdditional 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": "c5f7592f-169b-4c11-b8ae-344310362eb4",
  "experimentId": "6c9ecc2f-e99a-4a9a-b26e-b1272588185e",
  "toCrop": 3,
  "userName": "sample string 4",
  "currentUserPartnerRoleId": "ab9a44e3-3d1b-4436-bfbd-05f8f59c1ef5",
  "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>ab9a44e3-3d1b-4436-bfbd-05f8f59c1ef5</currentUserPartnerRoleId>
  <experimentId>6c9ecc2f-e99a-4a9a-b26e-b1272588185e</experimentId>
  <locationId>c5f7592f-169b-4c11-b8ae-344310362eb4</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 identifier

Response Formats

application/json, text/json

Sample:
"708b470d-7cf0-4541-8537-ce82ecd83828"

application/xml, text/xml

Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">708b470d-7cf0-4541-8537-ce82ecd83828</guid>