Register an IRS job to retrieve an item graph for given {globalAssetId}.
Register an IRS job to retrieve an item graph for given {globalAssetId}.
- application/json
Request Body required
- aspects string[]
Possible values:
<= 2147483647
List of aspect names that will be collected if <collectAspects> flag is set to true.
- bomLifecycle string
Possible values: [
asBuilt
,asPlanned
,asSpecified
]The lifecycle context in which the child part was assembled into the parent part.
- callbackUrl string
Callback url to notify requestor when job processing is finished. There are two uri variable placeholders that can be used: id and state.
- collectAspects boolean
Flag to specify whether aspects should be requested and collected. Default is false.
- depth int32
Possible values:
>= 1
and<= 100
Max depth of the item graph returned. If no depth is set item graph with max depth is returned.
- direction string
Possible values: [
upward
,downward
]Default value:
downward
Item graph traversal direction.
key object required
Key object contains required attributes for identify part chain entry node.
bpn string requiredPossible values:
>= 16 characters
and<= 16 characters
BPN of partner providing the initial asset
globalAssetId string requiredPossible values:
>= 45 characters
and<= 45 characters
, Value must match regular expression^urn:uuid:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
Id of global asset.
- lookupBPNs boolean
Flag to specify whether BPNs should be collected and resolved via the configured BPDM URL. Default is false.
- 201
- 400
- 401
- 403
Returns id of registered job.
- application/json
- Schema
- Example (from schema)
- Complete
Schema
- id uuid
Possible values:
>= 36 characters
and<= 36 characters
, Value must match regular expression/^[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}$/i
Id of the job.
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
{
"id": "6c311d29-5753-46d4-b32c-19b918ea93b0"
}
Job registration failed.
- application/json
- Schema
- Example (from schema)
- Error
Schema
- error string
Error.
- messages string[]
Possible values:
<= 2147483647
List of error messages.
- statusCode string
Possible values: [
100 CONTINUE
,101 SWITCHING_PROTOCOLS
,102 PROCESSING
,103 EARLY_HINTS
,103 CHECKPOINT
,200 OK
,201 CREATED
,202 ACCEPTED
,203 NON_AUTHORITATIVE_INFORMATION
,204 NO_CONTENT
,205 RESET_CONTENT
,206 PARTIAL_CONTENT
,207 MULTI_STATUS
,208 ALREADY_REPORTED
,226 IM_USED
,300 MULTIPLE_CHOICES
,301 MOVED_PERMANENTLY
,302 FOUND
,302 MOVED_TEMPORARILY
,303 SEE_OTHER
,304 NOT_MODIFIED
,305 USE_PROXY
,307 TEMPORARY_REDIRECT
,308 PERMANENT_REDIRECT
,400 BAD_REQUEST
,401 UNAUTHORIZED
,402 PAYMENT_REQUIRED
,403 FORBIDDEN
,404 NOT_FOUND
,405 METHOD_NOT_ALLOWED
,406 NOT_ACCEPTABLE
,407 PROXY_AUTHENTICATION_REQUIRED
,408 REQUEST_TIMEOUT
,409 CONFLICT
,410 GONE
,411 LENGTH_REQUIRED
,412 PRECONDITION_FAILED
,413 PAYLOAD_TOO_LARGE
,413 REQUEST_ENTITY_TOO_LARGE
,414 URI_TOO_LONG
,414 REQUEST_URI_TOO_LONG
,415 UNSUPPORTED_MEDIA_TYPE
,416 REQUESTED_RANGE_NOT_SATISFIABLE
,417 EXPECTATION_FAILED
,418 I_AM_A_TEAPOT
,419 INSUFFICIENT_SPACE_ON_RESOURCE
,420 METHOD_FAILURE
,421 DESTINATION_LOCKED
,422 UNPROCESSABLE_ENTITY
,423 LOCKED
,424 FAILED_DEPENDENCY
,425 TOO_EARLY
,426 UPGRADE_REQUIRED
,428 PRECONDITION_REQUIRED
,429 TOO_MANY_REQUESTS
,431 REQUEST_HEADER_FIELDS_TOO_LARGE
,451 UNAVAILABLE_FOR_LEGAL_REASONS
,500 INTERNAL_SERVER_ERROR
,501 NOT_IMPLEMENTED
,502 BAD_GATEWAY
,503 SERVICE_UNAVAILABLE
,504 GATEWAY_TIMEOUT
,505 HTTP_VERSION_NOT_SUPPORTED
,506 VARIANT_ALSO_NEGOTIATES
,507 INSUFFICIENT_STORAGE
,508 LOOP_DETECTED
,509 BANDWIDTH_LIMIT_EXCEEDED
,510 NOT_EXTENDED
,511 NETWORK_AUTHENTICATION_REQUIRED
]Error code.
{
"error": "string",
"messages": [
"string"
],
"statusCode": "100 CONTINUE"
}
{
"error": "Bad request",
"messages": [
"BadRequestException"
],
"statusCode": "400 BAD_REQUEST"
}
No valid authentication credentials.
- application/json
- Schema
- Example (from schema)
- Error
Schema
- error string
Error.
- messages string[]
Possible values:
<= 2147483647
List of error messages.
- statusCode string
Possible values: [
100 CONTINUE
,101 SWITCHING_PROTOCOLS
,102 PROCESSING
,103 EARLY_HINTS
,103 CHECKPOINT
,200 OK
,201 CREATED
,202 ACCEPTED
,203 NON_AUTHORITATIVE_INFORMATION
,204 NO_CONTENT
,205 RESET_CONTENT
,206 PARTIAL_CONTENT
,207 MULTI_STATUS
,208 ALREADY_REPORTED
,226 IM_USED
,300 MULTIPLE_CHOICES
,301 MOVED_PERMANENTLY
,302 FOUND
,302 MOVED_TEMPORARILY
,303 SEE_OTHER
,304 NOT_MODIFIED
,305 USE_PROXY
,307 TEMPORARY_REDIRECT
,308 PERMANENT_REDIRECT
,400 BAD_REQUEST
,401 UNAUTHORIZED
,402 PAYMENT_REQUIRED
,403 FORBIDDEN
,404 NOT_FOUND
,405 METHOD_NOT_ALLOWED
,406 NOT_ACCEPTABLE
,407 PROXY_AUTHENTICATION_REQUIRED
,408 REQUEST_TIMEOUT
,409 CONFLICT
,410 GONE
,411 LENGTH_REQUIRED
,412 PRECONDITION_FAILED
,413 PAYLOAD_TOO_LARGE
,413 REQUEST_ENTITY_TOO_LARGE
,414 URI_TOO_LONG
,414 REQUEST_URI_TOO_LONG
,415 UNSUPPORTED_MEDIA_TYPE
,416 REQUESTED_RANGE_NOT_SATISFIABLE
,417 EXPECTATION_FAILED
,418 I_AM_A_TEAPOT
,419 INSUFFICIENT_SPACE_ON_RESOURCE
,420 METHOD_FAILURE
,421 DESTINATION_LOCKED
,422 UNPROCESSABLE_ENTITY
,423 LOCKED
,424 FAILED_DEPENDENCY
,425 TOO_EARLY
,426 UPGRADE_REQUIRED
,428 PRECONDITION_REQUIRED
,429 TOO_MANY_REQUESTS
,431 REQUEST_HEADER_FIELDS_TOO_LARGE
,451 UNAVAILABLE_FOR_LEGAL_REASONS
,500 INTERNAL_SERVER_ERROR
,501 NOT_IMPLEMENTED
,502 BAD_GATEWAY
,503 SERVICE_UNAVAILABLE
,504 GATEWAY_TIMEOUT
,505 HTTP_VERSION_NOT_SUPPORTED
,506 VARIANT_ALSO_NEGOTIATES
,507 INSUFFICIENT_STORAGE
,508 LOOP_DETECTED
,509 BANDWIDTH_LIMIT_EXCEEDED
,510 NOT_EXTENDED
,511 NETWORK_AUTHENTICATION_REQUIRED
]Error code.
{
"error": "string",
"messages": [
"string"
],
"statusCode": "100 CONTINUE"
}
{
"error": "Unauthorized",
"messages": [
"UnauthorizedException"
],
"statusCode": "401 UNAUTHORIZED"
}
Authorization refused by server.
- application/json
- Schema
- Example (from schema)
- Error
Schema
- error string
Error.
- messages string[]
Possible values:
<= 2147483647
List of error messages.
- statusCode string
Possible values: [
100 CONTINUE
,101 SWITCHING_PROTOCOLS
,102 PROCESSING
,103 EARLY_HINTS
,103 CHECKPOINT
,200 OK
,201 CREATED
,202 ACCEPTED
,203 NON_AUTHORITATIVE_INFORMATION
,204 NO_CONTENT
,205 RESET_CONTENT
,206 PARTIAL_CONTENT
,207 MULTI_STATUS
,208 ALREADY_REPORTED
,226 IM_USED
,300 MULTIPLE_CHOICES
,301 MOVED_PERMANENTLY
,302 FOUND
,302 MOVED_TEMPORARILY
,303 SEE_OTHER
,304 NOT_MODIFIED
,305 USE_PROXY
,307 TEMPORARY_REDIRECT
,308 PERMANENT_REDIRECT
,400 BAD_REQUEST
,401 UNAUTHORIZED
,402 PAYMENT_REQUIRED
,403 FORBIDDEN
,404 NOT_FOUND
,405 METHOD_NOT_ALLOWED
,406 NOT_ACCEPTABLE
,407 PROXY_AUTHENTICATION_REQUIRED
,408 REQUEST_TIMEOUT
,409 CONFLICT
,410 GONE
,411 LENGTH_REQUIRED
,412 PRECONDITION_FAILED
,413 PAYLOAD_TOO_LARGE
,413 REQUEST_ENTITY_TOO_LARGE
,414 URI_TOO_LONG
,414 REQUEST_URI_TOO_LONG
,415 UNSUPPORTED_MEDIA_TYPE
,416 REQUESTED_RANGE_NOT_SATISFIABLE
,417 EXPECTATION_FAILED
,418 I_AM_A_TEAPOT
,419 INSUFFICIENT_SPACE_ON_RESOURCE
,420 METHOD_FAILURE
,421 DESTINATION_LOCKED
,422 UNPROCESSABLE_ENTITY
,423 LOCKED
,424 FAILED_DEPENDENCY
,425 TOO_EARLY
,426 UPGRADE_REQUIRED
,428 PRECONDITION_REQUIRED
,429 TOO_MANY_REQUESTS
,431 REQUEST_HEADER_FIELDS_TOO_LARGE
,451 UNAVAILABLE_FOR_LEGAL_REASONS
,500 INTERNAL_SERVER_ERROR
,501 NOT_IMPLEMENTED
,502 BAD_GATEWAY
,503 SERVICE_UNAVAILABLE
,504 GATEWAY_TIMEOUT
,505 HTTP_VERSION_NOT_SUPPORTED
,506 VARIANT_ALSO_NEGOTIATES
,507 INSUFFICIENT_STORAGE
,508 LOOP_DETECTED
,509 BANDWIDTH_LIMIT_EXCEEDED
,510 NOT_EXTENDED
,511 NETWORK_AUTHENTICATION_REQUIRED
]Error code.
{
"error": "string",
"messages": [
"string"
],
"statusCode": "100 CONTINUE"
}
{
"error": "Forbidden",
"messages": [
"ForbiddenException"
],
"statusCode": "403 FORBIDDEN"
}