POST api/profiles/{profileId}/operations
Create a profile operation.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| profileId |
Profile identifier. |
integer |
Required |
Body Parameters
Profile operation information.
ProfileOperationInputModel| Name | Description | Type | Additional 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:
Response Information
Resource Description
Action result.
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.