- A type:
public(visible to all callers) orprivate(only returned to authenticated owners) - A name: alphanumeric string with dots, hyphens, or underscores — max 256 characters, regex
[a-zA-Z0-9.\-_]{1,256} - A value: string up to 256 characters; may not contain
\r,\n, or\0
One predefined custom property name exists:
hr.oib (Croatian OIB tax number). If used, its value must be exactly 11 digits.http://busdox.org/serviceMetadata/publishing/1.0/
GET /{ServiceGroupId}/customproperties
Returns all custom properties for a service group. Unauthenticated callers receive only public properties. Authenticated owners receive all properties including private ones.
Authentication: Optional. Authenticated owners see private properties.
The participant identifier in
scheme::value format, URL-encoded.- Unauthenticated request
- Authenticated request (all properties)
- Response
Error responses
| Status | Condition |
|---|---|
400 | ServiceGroupId cannot be parsed |
404 | No service group with this identifier exists |
GET /{ServiceGroupId}/customproperties/{PropertyName}
Returns a single custom property by name. Unauthenticated callers can only retrieve public properties.
Authentication: Optional.
The participant identifier, URL-encoded.
The property name. Must match
[a-zA-Z0-9.\-_]{1,256}.- Request
- Response
Error responses
| Status | Condition |
|---|---|
400 | ServiceGroupId cannot be parsed, or PropertyName is invalid |
404 | Service group not found, or property not found (or property is private and caller is not authenticated) |
PUT /{ServiceGroupId}/customproperties
Replaces all custom properties for a service group with the provided list.
Authentication: Required. Caller must own the service group.
The participant identifier, URL-encoded.
- Request body (JSON array)
- curl example
Property type values
| Type value | Visibility |
|---|---|
public | Returned to all callers (authenticated and unauthenticated) |
private | Returned only to authenticated owners |
Error responses
| Status | Condition |
|---|---|
400 | Invalid identifier, invalid property name/value, or predefined property value violates its rule |
401 | Missing or invalid credentials |
403 | Authenticated user does not own the service group |
404 | Service group not found |
PUT /{ServiceGroupId}/customproperties/{PropertyType}/{PropertyName}
Sets or replaces a single custom property. If a property with the same name already exists, it is replaced regardless of its current type.
Authentication: Required. Caller must own the service group.
The participant identifier, URL-encoded.
Either
public or private.The property name. Must match
[a-zA-Z0-9.\-_]{1,256}.- curl example
Error responses
| Status | Condition |
|---|---|
400 | Invalid type (not public or private), invalid property name, value too long, or predefined property value violates its rule |
401 | Missing or invalid credentials |
403 | Authenticated user does not own the service group |
404 | Service group not found |
DELETE /{ServiceGroupId}/customproperties
Deletes all custom properties from a service group.
Authentication: Required. Caller must own the service group.
The participant identifier, URL-encoded.
- curl example
HTTP 200 OK with the number of deleted properties in the response body.
DELETE /{ServiceGroupId}/customproperties/{PropertyName}
Deletes a single custom property by name.
Authentication: Required. Caller must own the service group.
The participant identifier, URL-encoded.
The property name to delete.
- curl example
Error responses
| Status | Condition |
|---|---|
400 | Invalid property name |
401 | Missing or invalid credentials |
403 | Authenticated user does not own the service group |
404 | Service group not found, or property not found |