View workspace segments by workspace or project
get
/primeapi/restapi/segment/project/{id}
This endpoint returns workspace segments that meet the following requirements:
- The object has an ID that matches the value of the {id} path parameter.
- The object has a type that matches the value of the {type} path parameter.
Request
Path Parameters
-
id: integer(int64)
UNDEFINED
Response
Supported Media Types
- application/json
200 Response
successful operation
Nested Schema : ApiEntityCBSSheetSegment
Type:
Show Source
object
-
copiedFrom(optional):
integer(int64)
-
costSheetId:
integer(int64)
The system-generated identifier of a cost sheet.
-
link(optional):
string(url)
Read Only:
true
-
segmentDefaultValue(optional):
string
A value that is added to the concatenated code by default. This is not a required field.
-
segmentDefinitionName:
string
The name of the level of the cost breakdown structure segment definition.
-
segmentId(optional):
integer(int64)
The system-generated identifier of a cost sheet segment. This value should not be provided in create operation request data, however, it is required for update requests.
-
segmentSeparator(optional):
string
The separator determines how the concatenated code is separated. The separator can be a period, space, or hyphen.
-
updateDate(optional):
string(date-time)
Read Only:
true
Date when the record was last updated. Used for viewing and filtering records, obtained ONLY from GET calls, modified on and after a particular date. Not a part of POST response.
204 Response
Successful operation with no content.
404 Response
The requested object does not exist, or you do not have access to it.