Update a Project Segment
put
/primeapi/restapi/segment/project
This endpoint returns a project segment. An application object with an ID value that matches the ID value provided in the JSON object in the request body will be updated to reflect the JSON contents.
Request
Supported Media Types
- application/json
UNDEFINED
Root 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.
Response
Supported Media Types
- application/json
204 Response
Successful operation with no content.
400 Response
Invalid input for the Segment resource.