POST api/profiles/{profileId}/operations

Create a profile operation.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
profileId

Profile identifier.

integer

Required

Body Parameters

Profile operation information.

ProfileOperationInputModel
NameDescriptionTypeAdditional information
ClientOperationId

Gets or sets the client operation identifier.

string

Required

String length: inclusive between 0 and 36

IsAutomatic

Gets or sets a value indicating whether a profile operation is automatic (true) or not (false).

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "clientOperationId": "sample string 1",
  "isAutomatic": true
}

application/xml, text/xml

Sample:
<ProfileOperationInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GtMotive.GtApi.DistributedServices.ApiRest.Models.ClientOperations">
  <ClientOperationId>sample string 1</ClientOperationId>
  <IsAutomatic>true</IsAutomatic>
</ProfileOperationInputModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ProfileOperationInputModel'.

Response Information

Resource Description

Action result.

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.