Sitecore API catalog/Jobs API//
- Create multiple job targets at once
Create a job target
Retrieve all job targets
Retrieve a specific job target
Update a job target
Partially update a job target
Delete a job target
Create multiple job targe...
Creates new targets for the specified job and returns the job target IDs.
Security
OAuth2
- https://your-serverhttps://your-server/api/jobs/{id}/targets/bulk
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://your-server/api/jobs/{id}/targets/bulk' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"items": [
{
"id": 0,
"identifier": "string",
"properties": {
"property1": {},
"property2": {}
},
"relations": {
"property1": {
"parents": [
{
"properties": {
"property1": {},
"property2": {}
},
"renditions": {
"property1": {},
"property2": {}
},
"permissions": [
null
],
"identifier": "string",
"href": "string",
"filename_properties": [
null
],
"title": "string",
"templated": false
}
],
"parent": {
"properties": {
"property1": {},
"property2": {}
},
"renditions": {
"property1": {},
"property2": {}
},
"permissions": [
"string"
],
"identifier": "string",
"href": "string",
"filename_properties": [
"string"
],
"title": "string",
"templated": false
},
"children": [
{
"properties": {
"property1": {},
"property2": {}
},
"renditions": {
"property1": {},
"property2": {}
},
"permissions": [
null
],
"identifier": "string",
"href": "string",
"filename_properties": [
null
],
"title": "string",
"templated": false
}
],
"child": {
"properties": {
"property1": {},
"property2": {}
},
"renditions": {
"property1": {},
"property2": {}
},
"permissions": [
"string"
],
"identifier": "string",
"href": "string",
"filename_properties": [
"string"
],
"title": "string",
"templated": false
},
"inherits_security": true,
"parent_total": 0,
"child_total": 0,
"self": {
"href": "string",
"filename_properties": [
"string"
],
"title": "string",
"templated": false
}
},
"property2": {
"parents": [
{
"properties": {
"property1": {},
"property2": {}
},
"renditions": {
"property1": {},
"property2": {}
},
"permissions": [
null
],
"identifier": "string",
"href": "string",
"filename_properties": [
null
],
"title": "string",
"templated": false
}
],
"parent": {
"properties": {
"property1": {},
"property2": {}
},
"renditions": {
"property1": {},
"property2": {}
},
"permissions": [
"string"
],
"identifier": "string",
"href": "string",
"filename_properties": [
"string"
],
"title": "string",
"templated": false
},
"children": [
{
"properties": {
"property1": {},
"property2": {}
},
"renditions": {
"property1": {},
"property2": {}
},
"permissions": [
null
],
"identifier": "string",
"href": "string",
"filename_properties": [
null
],
"title": "string",
"templated": false
}
],
"child": {
"properties": {
"property1": {},
"property2": {}
},
"renditions": {
"property1": {},
"property2": {}
},
"permissions": [
"string"
],
"identifier": "string",
"href": "string",
"filename_properties": [
"string"
],
"title": "string",
"templated": false
},
"inherits_security": true,
"parent_total": 0,
"child_total": 0,
"self": {
"href": "string",
"filename_properties": [
"string"
],
"title": "string",
"templated": false
}
}
},
"is_root_taxonomy_item": true,
"is_path_root": true,
"entitydefinition": {
"href": "string",
"filename_properties": [
"string"
],
"title": "string",
"templated": false
},
"is_system_owned": true,
"inherits_security": true,
"self": {
"href": "string",
"filename_properties": [
"string"
],
"title": "string",
"templated": false
}
}
]
}'Successful operation.
Response
{ "items": [ { … } ], "total_items": 0, "returned_items": 0, "offset": 0, "next": { "href": "string", "filename_properties": [ … ], "title": "string", "templated": false }, "previous": { "href": "string", "filename_properties": [ … ], "title": "string", "templated": false }, "identifier": "string", "self": { "href": "string", "filename_properties": [ … ], "title": "string", "templated": false }, "property1": null, "property2": null }