Custom Code / Revision

What can you do with CustomCodeRevision?


Properties

Property Details
id
"id": 597
Type: Number
This is the unique numeric identifier for the CustomCodeRevision
ownerId
"ownerId": 591
Type: Number
Unique identifier for the associated Owner object.
revisionNumber
"revisionNumber": 933
Type: Number
description
"description": "Hello World"
Type: String
customCodeId
"customCodeId": 572
Type: Number
Unique identifier for the associated CustomCode object.
customCodeStatusTypeId
"customCodeStatusTypeId": 775
Type: Number
Unique identifier for the associated CustomCodeStatusType object.
codeSnippet
"codeSnippet": "Hello World"
Type: String
created
"created": "2005-04-11T14:56:24"
Type: Date
createdByUserId
"createdByUserId": 284
Type: Number
Unique identifier for the associated User object.
updated
"updated": "2005-04-11T14:56:24"
Type: Date
updatedByUserId
"updatedByUserId": 709
Type: Number
Unique identifier for the associated User object.
published
"published": "2005-04-11T14:56:24"
Type: Date
publishedByUserId
"publishedByUserId": 507
Type: Number
Unique identifier for the associated User object.


Update Request Filters

When updating an object you use the update request header with the list of properties to update. Then you need only supply the new values in the body of your request. Please note, this header can only be used with PUT or PATCH requests.

Field List:

  • revisionNumber
  • description
  • customCodeId
  • customCodeStatusTypeId
  • codeSnippet
  • created
  • createdByUserId
  • updated
  • updatedByUserId
  • published
  • publishedByUserId

DataFlow PATCH objects:


End Points

DELETEapi/v1/CustomCode/Revision/{id:int}
Delete an instance of the CustomCodeRevision object.
GETapi/v1/CustomCode/Revision
Retrieve all of the CustomCodeRevision objects.
GETapi/v1/CustomCode/Revision/Metadata
Retrieve all of the meta data details of the CustomCodeRevision object.
GETapi/v1/CustomCode/Revision/Metadata/{option}
Retrieve all the meta data details of the CustomCodeRevision object based on provided options.
{option}Metadata options for the CustomCodeRevision object.
GETapi/v1/CustomCode/Revision/Paged
Retreive all of the CustomCodeRevision objects in a paged fashion.
GETapi/v1/CustomCode/Revision/{id:int}
Retrieve an instance of the CustomCodeRevision object by it's ID.
{id:int}Unique identifier for the CustomCodeRevision object.
POSTapi/v1/CustomCode/Revision
Create a new instance of the CustomCodeRevision object.
PUTapi/v1/CustomCode/Revision/{id:int}
Update an existing instance of the CustomCodeRevision object.
UNKNOWNapi/v1/CustomCode/Revision/Publish/{id:int}