This method will auto-generate an ID and create a new course instructor. If an ID is specified for the course instructor, an error will be thrown.
The course instructor that you would like to be saved.
{- "id": "string",
- "training_provider_id": "string",
- "courses": [
- {
- "course_id": "string",
- "valid_from": "2019-08-24",
- "valid_until": "2019-08-24"
}
], - "contract_uri": "string",
- "pay_rate": 0,
- "notes": "string",
- "is_active": true,
- "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_directive": "string"
}
{- "id": "string",
- "training_provider_id": "string",
- "courses": [
- {
- "course_id": "string",
- "valid_from": "2019-08-24",
- "valid_until": "2019-08-24"
}
], - "contract_uri": "string",
- "pay_rate": 0,
- "notes": "string",
- "is_active": true,
- "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_directive": "string"
}
Returns a list of records with the specified tenant_id
curl -i -X GET \ 'https://certifications.api.756794052567.rhythmsoftware.com/courseInstructors/:tenantId?fields=string&exclusiveStartKey=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "Items": [
- {
- "id": "string",
- "training_provider_id": "string",
- "courses": [
- {
- "course_id": "string",
- "valid_from": "2019-08-24",
- "valid_until": "2019-08-24"
}
], - "contract_uri": "string",
- "pay_rate": 0,
- "notes": "string",
- "is_active": true,
- "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_directive": "string"
}
], - "LastEvaluatedKey": "string"
}
This method will look up a course instructor by the specified ID and return it back.
curl -i -X GET \ 'https://certifications.api.756794052567.rhythmsoftware.com/courseInstructors/:tenantId/:id?fields=string&consistentRead=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "id": "string",
- "training_provider_id": "string",
- "courses": [
- {
- "course_id": "string",
- "valid_from": "2019-08-24",
- "valid_until": "2019-08-24"
}
], - "contract_uri": "string",
- "pay_rate": 0,
- "notes": "string",
- "is_active": true,
- "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_directive": "string"
}
This method will update an existing course instructor with the specified ID.
The updated course instructor that will be saved.
{- "id": "string",
- "training_provider_id": "string",
- "courses": [
- {
- "course_id": "string",
- "valid_from": "2019-08-24",
- "valid_until": "2019-08-24"
}
], - "contract_uri": "string",
- "pay_rate": 0,
- "notes": "string",
- "is_active": true,
- "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_directive": "string"
}
{- "id": "string",
- "training_provider_id": "string",
- "courses": [
- {
- "course_id": "string",
- "valid_from": "2019-08-24",
- "valid_until": "2019-08-24"
}
], - "contract_uri": "string",
- "pay_rate": 0,
- "notes": "string",
- "is_active": true,
- "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_directive": "string"
}
This method will patch an existing course instructor with the specified ID, using the HTTP PATCH specification.
The patch directives conforming to RFC 6902.
[- {
- "op": "add",
- "path": "string",
- "value": "string"
}
]
{- "id": "string",
- "training_provider_id": "string",
- "courses": [
- {
- "course_id": "string",
- "valid_from": "2019-08-24",
- "valid_until": "2019-08-24"
}
], - "contract_uri": "string",
- "pay_rate": 0,
- "notes": "string",
- "is_active": true,
- "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_directive": "string"
}
This method will delete a course instructor with the specified ID.
curl -i -X DELETE \ https://certifications.api.756794052567.rhythmsoftware.com/courseInstructors/:tenantId/:id \ -H 'Authorization: YOUR_API_KEY_HERE'
"string"