Create RoleCodes
post
/roleCode
Creates multiple RoleCode objects in the database. You can create up to 1000 RoleCode objects with a single call.
Request
Header Parameters
-
Authorization(required):
OAuth token
Supported Media Types
- application/json
Root Schema : List<RoleCode>
Type:
array
Title:
Show Source
List<RoleCode>
-
Array of:
object RoleCode
Title:
RoleCode
RoleCode Entity
Nested Schema : RoleCode
Type:
object
Title:
RoleCode
RoleCode Entity
Show Source
-
CodeTypeName: number
(double)
The name of the parent code type for this code.
-
CodeTypeObjectId: integer
(int32)
The unique ID of the parent resource code type.
-
CodeValue: string
The value of the resource code.
-
CreateDate: string
(date-time)
The date this resource code was created.
-
CreateUser: string
The name of the user that created this resource code.
-
Description: string
The description of the resource code.
-
LastUpdateDate: string
(date-time)
The date this resource code was last updated.
-
LastUpdateUser: string
The name of the user that last updated this resource code.
-
ObjectId: integer
(int32)
The unique ID generated by the system.
-
ParentObjectId: integer
(int32)
The unique ID of the parent resource code of this resource code in the hierarchy.
-
SequenceNumber: integer
(int32)
The sequence number for sorting.
Response
Supported Media Types
- application/json
201 Response
RoleCode Created.
Root Schema : String
Type:
string
Title:
String
400 Response
Bad Request.
401 Response
Unauthorized.
403 Response
Forbidden.
404 Response
Not Found.
405 Response
Invalid Input.
500 Response
Internal Server Error.