service-unit
virin
Create a VIRIN for a service unit
This endpoint creates a VIRIN for the service unit specified by the ID in the path parameter. The VIRIN is a unique identifier used to track media assets within the system. If the unit does not have a DVIAN on file, a 409 Conflict error will be returned.
post/service-unit/{id}/virin
Request
- Base URLhttps://submitapi.dvidshub.net
- AuthOAuth 2Authorization codehttps://api.dvidshub.net/auth/authorizeToken URLhttps://api.dvidshub.net/auth/access_tokenScopesbasic, email, upload
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"data": {
"attributes": {
"virin": "160323-O-A1234-1001"
}
}
}Response
The created ServiceUnitVirin object
Example response
{
"data": {
"attributes": {
"virin": "160323-O-A1234-1001"
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.