PhysicalLocationProjects - Intergraph Smart Completions - Intergraph Smart Completions Update 24 - Customization & Programming - Hexagon

Intergraph Smart Completions Smart API Programmer's Reference Guide (5.3.24)

Language
English
Product
Intergraph Smart Completions
Search by Category
Customization & Programming
Smart Completions Version
5.3.24

Assign an LBS to a Project.

Supported HTTPS Methods: POST

Request URL:

<HOSTNAME>/sc/datalake/v1/Instances(2)/PhysicalLocationProjects

Header parameters:

Header Parameter

Description

Authorization

A token required for authenticating a request.

The bearer token is a string, usually generated by the server in response to a login request.

You must include this header in every request.

Content-Type

The request format or the original media type of the resource.

Sample request payload:

{

"PhysicalLocationId": 3546,

"WorkBreakdownUp3Id": 264

}

Request payload parameters:



Request Parameter



Data Type

Required, Optional,
Recommended, or
Unused



Description

PhysicalLocationId

Integer

Required

Unique ID of the Plant.

WorkBreakdownUp3Id

Integer

Required

Project ID which needs to be linked to the process.

Sample response:

{

"@odata.context": "https://sc.acme.com/sc/datalake/v1/

$metadata#Instances(2)/PhysicalLocationProjects/$entity",

"Id": 100,

"PhysicalLocationId": 100,

"WorkBreakdownUp3Id": 244,

"PhysicalLocation": "110 - Plant ",

"Project": "FTP01 - FEATURE TEST PROJECT",

"Summary": "FTP01 - FEATURE TEST PROJECT",

"RecordCreated": "2023-09-27T06:47:48.867Z",

"RecordCreatedBy": "Hexagon PPM Administrator",

"RecordCreatedById": 1,

"RecordLastModified": null,

"RecordLastModifiedBy": null,

"RecordLastModifiedById": null,

"dtRemoved": null,

"RecordRemovedBy": null,

"RecordRemovedById": null

}

Response Parameters:


Response Parameter


Data Type


Description

@odata.context

String

Request URL.

Id

Integer

Unique ID of the PhysicalLocationBreakdownProjects entity.

PhysicalLocationId

Integer

Unique ID of the Plant location.

WorkBreakdownUp3Id

Integer

Project ID that was linked to process.

LocationBreakdown

String

Description of location.

Project

String

Description of the Project linked to the location.

Summary

String

The unique value Smart Completions uses to identify the LBS item. The value is a concatenation of the item's NUMBER and NAME.

RecordCreated

String(date)

Read only. Date when the LBS item was created in Smart Completions. Captured by Smart Completions.

RecordCreatedBy

String

Read only. Smart Completions user who created the LBS item in Smart Completions. Captured by Smart Completions.

RecordCreatedByID

Integer

Read only. Smart Completions user ID who created the LBS item in Smart Completions. Captured by Smart Completions.

RecordLastModified

String(date)

Read only. Date when the LBS item was last updated in Smart Completions. Captured by Smart Completions.

If the item has not been updated since creation, this is the date the item was created.

RecordLastModifiedBy

String

Read only. Smart Completions user who last updated the LBS item in Smart Completions. Captured by Smart Completions.

If the item has not been updated since creation, this is the user who created the item.

RecordLastModifiedById

Integer

Read only. Smart Completions user ID who last updated the LBS item in Smart Completions. Captured by Smart Completions.

If the item has not been updated since creation, this is the user who created the item.

dtRemoved

String(date)

Read only. Date when the LBS item was removed from Smart Completions. Captured by Smart Completions.

RecordRemovedBy

String

Read only. Smart Completions user who deleted the LBS item from Smart Completions. Captured by Smart Completions.

RecordRemovedById

Integer

Read only. User ID of the Smart Completions user who deleted the LBS item from Smart Completions. Captured by Smart Completions.