Creates an Appearance Profile for a Schedule.
V10 Endpoint
This endpoint is only supported by v10 schedules. The schedule type can be identified by querying the /schedules/{scheduleId} endpoint.
Appearance Profile
Appearance Profiles provide an indication of how a particular resource is used in a SYNCHRO Project, and allows the appearance (display, colour and transparency) of the resource to be changed as the resource is utilised.
Appearance Profile Actions
Appearance profile Action describes how assigned resources are displayed before, during and after the assigned Task.
Operation
Operations, also known as LROs (Long Running Operations), are time-consuming tasks that would not be completed in the appropriate timeframe for a single request response. Endpoints that use operations return an operation id that can be used on a separate endpoint to track the progress of the task that is being handled.
Authentication
Requires Authorization header with valid Bearer token for scope itwin-platform.
For more documentation on authorization and how to get access token visit OAUTH2 Authorization page.
Rate limits
All iTwin Platform API operations have a rate limit. For more documentation on that visit Rate limits and quotas page.
Request parameters
The unique identifier of the Schedule.
Request headers
OAuth access token with itwin-platform scope
Setting to application/vnd.bentley.itwin-platform.v1+json is recommended.
Entity to post for creation.
Request body
Appearance Profile Create Request
The unique identifier of the Appearance Profile.
The name of the Appearance Profile.
The unique identifier of the parent Appearance Profile.
Example
{ "action": "Install", "activeAppearance": null, "endAppearance": null, "id": "ae73d684-2878-424e-bab2-025eafbf766b", "name": "AppearanceProfileName", "parentId": null, "startAppearance": null }
Response 201 Created
Created
{ "appearanceProfile": { "action": "Install", "activeAppearance": { "color": "#ffffff", "finishTransparency": 0, "growthSimulation": { "adjustForTaskPercentComplete": false, "direction": { "x": 0, "y": 0, "z": 0 }, "mode": "None", "pauseDuringNonWorkingTime": false, "simulateAsRemove": false }, "isEnabled": true, "startTransparency": 0, "useOriginalColor": false, "useOriginalTransparency": false }, "createdOn": "2025-01-29T11:19:00Z", "deleted": false, "endAppearance": { "color": "#ffffff", "isEnabled": true, "transparency": 0, "useOriginalColor": false, "useOriginalTransparency": false }, "id": "ae73d684-2878-424e-bab2-025eafbf766b", "name": "AppearanceProfileName", "parentId": null, "startAppearance": { "color": "#ffffff", "isEnabled": true, "transparency": 0, "useOriginalColor": false, "useOriginalTransparency": false } } }
Response headers
A header that identifies a specific version of a resource or resource collection. For more information see the official documentation.
A header that identifies the location of a specific resource. For more information see the official documentation.
The unique identifier of the Operation.
URL to the Operations endpoint with pre-entered Operation ID.
Response 202 Accepted
This response indicates that the requested long-running operation was Accepted.
{ "appearanceProfile": { "id": "ae73d684-2878-424e-bab2-025eafbf766b" }, "operation": { "id": "1604789f-68c4-46ba-b20d-8a19f8319362" }, "_links": { "operationLocation": { "href": "https://api.bentley.com/schedules/5e11b21e-cba2-48a8-a2c1-2977d2d373e0/operations/1604789f-68c4-46ba-b20d-8a19f8319362" } } }
Response headers
The unique identifier of the Operation.
URL to the Operations endpoint with pre-entered Operation ID.
Response 400 Bad Request
The 400 (Bad Request) status code indicates that the request cannot be processed by the server due to a client error (e.g. malformed request syntax)
{ "error": { "code": "InvalidSchedulesRequest", "details": [{ "code": "InvalidValue", "message": "The 'action' property must not be Unknown.", "target": "action" }], "message": "The request contains invalid properties." } }
Response 401 Unauthorized
This response indicates that request lacks valid authentication credentials. Access token might not been provided, issued by the wrong issuer, does not have required scopes or request headers were malformed.
{ "error": { "code": "HeaderNotFound", "message": "Header Authorization was not found in the request. Access denied." } }
Response 403 Forbidden
User is not authorized to create an Appearance Profile.
{ "error": { "code": "InsufficientPermissions", "message": "The user has insufficient permissions for the requested operation." } }
Response 404 Not Found
This response indicates that the provided Schedule is not available.
{ "error": { "code": "ScheduleNotFound", "message": "Requested Schedule is not available.", "target": "scheduleId" } }
Response 409 Conflict
Indicates that the entity being created conflicts with an existing one.
{ "error": { "code": "AppearanceProfileExists", "message": "Appearance Profile with provided Id already exists." } }
Response 429 Too many requests
This response indicates that the client sent more requests than allowed by this API for the current tier of the client.
{ "error": { "code": "RateLimitExceeded", "message": "The client sent more requests than allowed by this API for the current tier of the client." } }
Response headers
Number of seconds to wait until client is allowed to make more requests.
Link
Hyperlink container.
Hyperlink to the specific entity.
{ "type": "object", "properties": { "href": { "type": "string", "description": "Hyperlink to the specific entity." } }, "additionalProperties": false, "description": "Hyperlink container." }
Error
Contains error information.
One of a server-defined set of error codes.
A human-readable representation of the error.
The target of the error.
{ "required": [ "code", "message" ], "type": "object", "properties": { "code": { "type": "string", "description": "One of a server-defined set of error codes." }, "message": { "type": "string", "description": "A human-readable representation of the error." }, "target": { "type": "string", "description": "The target of the error.", "nullable": true } }, "description": "Contains error information." }
DetailedError
Contains error information and an array of more specific errors.
One of a server-defined set of error codes.
A human-readable representation of the error.
The target of the error.
{ "required": [ "code", "message", "details" ], "type": "object", "properties": { "code": { "type": "string", "description": "One of a server-defined set of error codes." }, "message": { "type": "string", "description": "A human-readable representation of the error." }, "target": { "type": "string", "description": "The target of the error.", "nullable": true }, "details": { "type": "array", "items": { "$ref": "#/components/schemas/Error" }, "description": "Optional array of more specific errors." } }, "description": "Contains error information and an array of more specific errors." }
Detailed Error Response
Gives details for an error that occurred while handling the request. Note that clients MUST NOT assume that every failed request will produce an object of this schema, or that all of the properties in the response will be non-null, as the error may have prevented this response from being constructed.
{ "title": "Detailed Error Response", "required": [ "error" ], "type": "object", "properties": { "error": { "$ref": "#/components/schemas/DetailedError" } }, "additionalProperties": false, "description": "Gives details for an error that occurred while handling the request. Note that clients MUST NOT assume that every failed request will produce an object of this schema, or that all of the properties in the response will be non-null, as the error may have prevented this response from being constructed." }
Error Response
Gives details for an error that occurred while handling the request. Note that clients MUST NOT assume that every failed request will produce an object of this schema, or that all of the properties in the response will be non-null, as the error may have prevented this response from being constructed.
{ "title": "Error Response", "required": [ "error" ], "type": "object", "properties": { "error": { "$ref": "#/components/schemas/Error" } }, "additionalProperties": false, "description": "Gives details for an error that occurred while handling the request. Note that clients MUST NOT assume that every failed request will produce an object of this schema, or that all of the properties in the response will be non-null, as the error may have prevented this response from being constructed." }
Appearance Profile Action
Appearance Profile Action indicates the display status of a resource in relation to a task's lifecycle. See the Appearance Profile Actions section for details.
{ "title": "Appearance Profile Action", "enum": [ "Install", "Temporary", "Remove", "Maintain", "Neutral", "Unknown" ], "type": "string", "description": "Appearance Profile Action indicates the display status of a resource in relation to a task's lifecycle. See the [Appearance Profile Actions](#appearance-profile-actions) section for details." }
Color RGB
Vector 3D
A 3D vector.
The normalized X axis of the vector. The value is in the range [0, 1].
The normalized Y axis of the vector. The value is in the range [0, 1].
The normalized Z axis of the vector. The value is in the range [0, 1].
{ "title": "Vector 3D", "type": "object", "properties": { "x": { "type": "number", "description": "The normalized X axis of the vector. The value is in the range [0, 1].", "format": "double" }, "y": { "type": "number", "description": "The normalized Y axis of the vector. The value is in the range [0, 1].", "format": "double" }, "z": { "type": "number", "description": "The normalized Z axis of the vector. The value is in the range [0, 1].", "format": "double" } }, "additionalProperties": false, "description": "A 3D vector." }
Growth Simulation Mode
The direction of Growth Simulation.
{ "title": "Growth Simulation Mode", "enum": [ "BottomTop", "TopBottom", "LeftRight", "RightLeft", "FrontBack", "BackFront", "Custom", "None", "Unknown" ], "type": "string", "description": "The direction of Growth Simulation." }
Resource Growth
A representation of how an object grows while it is installed or removed.
When this value is enabled the Growth Simulation is affected by the Task percent complete.
When this value is enabled the Growth Simulation will be paused during non working hours.
When this value is enabled the Growth Simulation will appear as if the object is being removed.
{ "title": "Resource Growth", "type": "object", "properties": { "adjustForTaskPercentComplete": { "type": "boolean", "description": "When this value is enabled the Growth Simulation is affected by the Task percent complete." }, "direction": { "$ref": "#/components/schemas/Vector3d" }, "mode": { "$ref": "#/components/schemas/GrowthSimulationMode" }, "pauseDuringNonWorkingTime": { "type": "boolean", "description": "When this value is enabled the Growth Simulation will be paused during non working hours." }, "simulateAsRemove": { "type": "boolean", "description": "When this value is enabled the Growth Simulation will appear as if the object is being removed." } }, "additionalProperties": false, "description": "A representation of how an object grows while it is installed or removed." }
Active Appearance
Properties describing how the appearance of an object changes while assigned Task is in progress.
How transparent the object is in the end of the assigned Task. Value is in the range [0, 100], with 0 being completely opaque and 100 being completely transparent.
User set property indicating if the appearance is enabled.
How transparent the object is in the start of the assigned Task. Value is in the range [0, 100], with 0 being completely opaque and 100 being completely transparent.
Use the original color of the object.
Use the original transparency of the object.
{ "title": "Active Appearance", "type": "object", "properties": { "color": { "$ref": "#/components/schemas/ColorRGB" }, "finishTransparency": { "type": "integer", "description": "How transparent the object is in the end of the assigned Task. Value is in the range [0, 100], with 0 being completely opaque and 100 being completely transparent.", "format": "int32" }, "growthSimulation": { "$ref": "#/components/schemas/ResourceGrowth" }, "isEnabled": { "type": "boolean", "description": "User set property indicating if the appearance is enabled.", "default": true }, "startTransparency": { "type": "integer", "description": "How transparent the object is in the start of the assigned Task. Value is in the range [0, 100], with 0 being completely opaque and 100 being completely transparent.", "format": "int32" }, "useOriginalColor": { "type": "boolean", "description": "Use the original color of the object." }, "useOriginalTransparency": { "type": "boolean", "description": "Use the original transparency of the object." } }, "additionalProperties": false, "description": "Properties describing how the appearance of an object changes while assigned Task is in progress." }
Appearance
The appearance of an object.
User set property indicating if the appearance is enabled.
How transparent the object is. Value is in the range [0, 100], with 0 being completely opaque and 100 being completely transparent.
Use the original color of the object.
Use the original transparency of the object.
{ "title": "Appearance", "type": "object", "properties": { "color": { "$ref": "#/components/schemas/ColorRGB" }, "isEnabled": { "type": "boolean", "description": "User set property indicating if the appearance is enabled.", "default": true }, "transparency": { "type": "integer", "description": "How transparent the object is. Value is in the range [0, 100], with 0 being completely opaque and 100 being completely transparent.", "format": "int32" }, "useOriginalColor": { "type": "boolean", "description": "Use the original color of the object." }, "useOriginalTransparency": { "type": "boolean", "description": "Use the original transparency of the object." } }, "additionalProperties": false, "description": "The appearance of an object." }
Appearance Profile
Representation of an Appearance Profile.
The date on which the Appearance Profile was created.
Is this Appearance Profile deleted.
The unique identifier of the Appearance Profile.
The name of the Appearance Profile.
The unique identifier of the parent Appearance Profile.
{ "title": "Appearance Profile", "type": "object", "properties": { "action": { "$ref": "#/components/schemas/AppearanceProfileAction" }, "activeAppearance": { "$ref": "#/components/schemas/ActiveAppearance" }, "createdOn": { "type": "string", "description": "The date on which the Appearance Profile was created.", "format": "date", "nullable": true }, "deleted": { "type": "boolean", "description": "Is this Appearance Profile deleted.", "nullable": true }, "endAppearance": { "$ref": "#/components/schemas/Appearance" }, "id": { "type": "string", "description": "The unique identifier of the Appearance Profile." }, "name": { "type": "string", "description": "The name of the Appearance Profile.", "nullable": true }, "parentId": { "type": "string", "description": "The unique identifier of the parent Appearance Profile.", "nullable": true }, "startAppearance": { "$ref": "#/components/schemas/Appearance" } }, "additionalProperties": false, "description": "Representation of an Appearance Profile." }
Appearance Profile Create Request
Properties of the Appearance Profile to be created.
The unique identifier of the Appearance Profile.
The name of the Appearance Profile.
The unique identifier of the parent Appearance Profile.
{ "title": "Appearance Profile Create Request", "type": "object", "properties": { "action": { "$ref": "#/components/schemas/AppearanceProfileAction" }, "activeAppearance": { "$ref": "#/components/schemas/ActiveAppearance" }, "endAppearance": { "$ref": "#/components/schemas/Appearance" }, "id": { "type": "string", "description": "The unique identifier of the Appearance Profile." }, "name": { "minLength": 1, "type": "string", "description": "The name of the Appearance Profile." }, "parentId": { "type": "string", "description": "The unique identifier of the parent Appearance Profile.", "nullable": true }, "startAppearance": { "$ref": "#/components/schemas/Appearance" } }, "additionalProperties": false, "description": "Properties of the Appearance Profile to be created." }
Operation Create Response Properties
Contains the id of the created long-running operation.
The unique identifier of the Operation.
{ "title": "Operation Create Response Properties", "type": "object", "properties": { "id": { "type": "string", "description": "The unique identifier of the Operation.", "nullable": true } }, "additionalProperties": false, "description": "Contains the id of the created long-running operation." }
Operation Location
Contains the URL to the Operations endpoint to check the information about a long-running operation.
{ "title": "Operation Location", "type": "object", "properties": { "operationLocation": { "$ref": "#/components/schemas/Link" } }, "additionalProperties": false, "description": "Contains the URL to the Operations endpoint to check the information about a long-running operation." }
Appearance Profile Create Response
Contains properties of the created Appearance Profile.
{ "title": "Appearance Profile Create Response", "type": "object", "properties": { "operation": { "$ref": "#/components/schemas/OperationCreateResponseProperties" }, "appearanceProfile": { "$ref": "#/components/schemas/AppearanceProfile" }, "_links": { "$ref": "#/components/schemas/OperationLocationLink" } }, "additionalProperties": false, "description": "Contains properties of the created Appearance Profile." }
Appearance Profile Operation Response Properties
Contains properties of the Appearance Profile that is queued for creation or update.
The unique identifier of the Appearance Profile.
{ "title": "Appearance Profile Operation Response Properties", "type": "object", "properties": { "id": { "type": "string", "description": "The unique identifier of the Appearance Profile." } }, "additionalProperties": false, "description": "Contains properties of the Appearance Profile that is queued for creation or update." }
Appearance Profile Operation Response
Contains properties of the created long-running operation, and a link to this operation.
{ "title": "Appearance Profile Operation Response", "type": "object", "properties": { "appearanceProfile": { "$ref": "#/components/schemas/AppearanceProfileOperationResponseProperties" }, "operation": { "$ref": "#/components/schemas/OperationCreateResponseProperties" }, "_links": { "$ref": "#/components/schemas/OperationLocationLink" } }, "additionalProperties": false, "description": "Contains properties of the created long-running operation, and a link to this operation.", "x-codegen-extends-class": "OperationCreateResponse" }
Was this page helpful?