CampusAPI Contact Services API documentation version 1.0.5
Based on OSID version 3.0.0
https://base.url/contact
Overview
The Contact package defines auxiliary services that relates contact information to other objects.
This package includes the following entities:
Contacts
A Contact is relationship between an Address and a reference Id. Contacts are time-variant which allow Addresses to become effective based on schedules.
Contacts have an addressee. Addressees are Resources that indicate to whom or what should be contacted. In the case of making contacts for external Resources, the reference Id and the addressee Resource Id may be the same.
Example: An Address exists for Tom: tom@earth.com. A service Consumer wishing to contact Tom does by looking up effective Contacts for Tom as a reference and then retrieving the related Addresses for the Contacts.
A Contact exists for a startup company (reference) where the addressee is Scott with an Address at 162 School Street. Another Contact exists with an addressee for Sarah also with an Address at 162 School Street. A single Address can be used for 162 School Street with an address Resource of Scott & Sarah's House. Gypsy can be added by creating a Contact referencing the dog related to the same Address.
Field | Description | Type |
---|---|---|
id(read‑only) | The unique id of this contact, provided by system. | string(osid‑id) |
uri(read‑only) | The uri of this contact, provided by system. | string(uri) |
displayName | The name of this contact for display. | string |
description | The description of this contact. | string |
genusTypeId (read‑only) | Id of the immutable type of this contact. Default type set by system unless specified in query parameter. | string(osid‑id) |
recordTypeIds (read‑only) | Type Ids of record types available on this contact. Record types define special attributes available on an object to support specific applications or classes of applications and are documented elsewhere. | string(osid‑id)[] |
startDate | The starting date of this contact. | string(date‑time) |
endDate | The ending date of this contact. | string(date‑time) |
endReasonId | The reason this contact ended. References a process.State object. | string(osid‑id) |
addressId (read‑only) | The address associated with this contact. References a contact.Address object. | string(osid‑id) |
referenceId (read‑only) | The reference associated with this contact. References an id.Id object. | string(osid‑id) |
addresseeId | The addressee. References a resource.Resource object | string(osid‑id) |
Addresses
An Address is an entity for a the address of a Resource. Specific breakdowns of an Address may be made available through different address types but and the Address exposes a text form of the address.
Field | Description | Type |
---|---|---|
id(read‑only) | The unique id of this address, provided by system. | string(osid‑id) |
uri(read‑only) | The uri of this address, provided by system. | string(uri) |
displayName | The name of this address for display. | string |
description | The description of this address. | string |
genusTypeId (read‑only) | Id of the immutable type of this address. Default type set by system unless specified in query parameter. | string(osid‑id) |
recordTypeIds (read‑only) | Type Ids of record types available on this address. Record types define special attributes available on an object to support specific applications or classes of applications and are documented elsewhere. | string(osid‑id)[] |
resourceId | The resource to which this address belongs. References a resource.Resource object | string(osid‑id) |
AddressBooks
Addresses and Contacts can be organized into federateable AddressBooks.
Field | Description | Type |
---|---|---|
id(read‑only) | The unique id of this address book, provided by system. | string(osid‑id) |
uri(read‑only) | The uri of this address book, provided by system. | string(uri) |
displayName | The name of this address book for display. | string |
description | The description of this address book. | string |
genusTypeId (read‑only) | Id of the immutable type of this address book. Default type set by system unless specified in query parameter. | string(osid‑id) |
recordTypeIds (read‑only) | Type Ids of record types available on this address book. Record types define special attributes available on an object to support specific applications or classes of applications and are documented elsewhere. | string(osid‑id)[] |
providerId | The provider of this address book. References a resource.Resource object. | string(osid‑id) |
brandingIds | The branding of this address book. References repository.Asset objects. | string(osid‑id)[] |
license | The licensing that applies to this address book. | string |
License
CampusAPI REST Documentation Copyright 2023 DXtera Institute. Based on the Open Service Interface Definitions: http://osid.org
/contacts
Collection of Contacts in a system, federation of systems, or in a default AddressBook.
Get all Contacts in the system or default AddressBook.
Create a new Contact in the default AddressBook.
get /contacts
Get all Contacts in the system or default AddressBook.
Query Parameters
- offset: (integer - default: 0)
Skip over a number of elements by specifying an offset value for the query
Example:
20
- limit: (integer - default: 10)
Limit the number of elements on the response
Example:
80
- expand: (string)
Expand object or type for named attribute: "genusType", "recordType", "endReason", "addressee", "address", "reference", or "all" to expand all referenced objects or types. This parameter can be repeated to expand multiples.
Example:
all
- genusTypeId: (string)
The id string to match a genusType
Example:
type.Type%3AexampleContactType%40dxtera.org
- parentGenusTypeId: (string)
The id string to match a parent genusType
Example:
type.Type%3AparentTypeExampleContactType%40dxtera.org
- recordTypeId: (string)
The id string to match a recordType
Example:
type.Type%3AexampleContactType%40campusapi.org
- fromDate: (string)
Get all contacts from this date inclusive. Use with toDate to define date range query.
Example:
2020-10-03
- toDate: (string)
Get all contacts up to this date inclusive. Use with fromDate to define date range query.
Example:
2020-12-18
- addressId: (string)
the id string to match a address.
Example:
contact.Address%3A343%40base.url
- referenceId: (string)
the id string to match a reference.
Example:
resource.Resource%3A504%40base.url
- addressBookId: (string)
The id string to match a addressBook
Example:
contact.AddressBook%3A8374%40base.url
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
[
{
"id": "contact.Contact:1386@base.url",
"uri": "http://base.url/open/campusapi/contact/contact/contact.Contact%3A1386%40base.url",
"displayName": "Display Name of this Contact",
"description": "The description of this Contact",
"genusTypeId": "type.Type:defaultContactType@base.url",
"recordTypeIds": [ "type.Type:exampleContactRecordType@campusapi.org", "..."],
"startDate": "2020-10-03T06:30:00.000Z",
"endDate": "2020-12-18T19:30:00.000Z",
"endReasonId": "process.State:1386@base.url",
"addressId": "contact.Address:4591@base.url",
"referenceId": "id.Id:5589@base.url",
"addresseeId": "resource.Resource:3679@base.url"
},
{
"...": "..."
}
]
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
post /contacts
Create a new Contact in the default AddressBook.
Query Parameters
- addressId: required(string)
the address of this contact.
Example:
contact.Address%3A343%40base.url
- referenceId: required(string)
the reference of this contact.
Example:
resource.Resource%3A504%40base.url
- genusType: (string)
specify a particular contact type to create
Example:
type.Type%3AexampleContactType%40dxtera.org
- recordType: (array of )
specify support for one or more contact record types
Example:
[ "type.Type%3AexampleContactRecordType%40campusapi.org", "..." ]
- addressBookId: (string)
specify in which address-book to create this contact
Example:
contact.AddressBook%3A8374%40base.url
Body
Media type: application/json
Type: json
Content:
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Contact",
"type": "object",
"properties": {
"id": {
"description": "The unique id of this contact, provided by system.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"uri": {
"description": "The uri of this contact, provided by system.",
"type": "string",
"format": "uri",
"readOnly": true
},
"displayName": {
"description": "The name of this contact for display.",
"type": "string"
},
"description": {
"description": "The description of this contact.",
"type": "string"
},
"genusTypeId": {
"description": "Id of the immutable type of this contact. Default type set by system unless specified in query parameter.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"recordTypeIds": {
"description": "Type Ids of record types available on this contact. Record types define special attributes available on an object to support specific applications or classes of applications and are documented elsewhere.",
"type": "array",
"items": {
"type": "string",
"format": "osid-id"
},
"readOnly": true
},
"startDate": {
"description": "The starting date of this contact.",
"type": "string",
"format": "date-time"
},
"endDate": {
"description": "The ending date of this contact.",
"type": "string",
"format": "date-time"
},
"endReasonId": {
"description": "The reason this contact ended.",
"type": "string",
"format": "osid-id"
},
"addressId": {
"description": "The address associated with this contact.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"referenceId": {
"description": "The reference associated with this contact.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"addresseeId": {
"description": "The addressee.",
"type": "string",
"format": "osid-id"
}
}
}
Example:
{
"displayName": "Display Name of this Contact",
"description": "The description of this Contact",
"startDate": "2020-10-03T06:30:00.000Z",
"endDate": "2020-12-18T19:30:00.000Z",
"endReasonId": "process.State:379@base.url",
"addresseeId": "resource.Resource:1994@base.url"
}
Query the collection of Contacts in a system, federation of systems, or in a default addressBook by posting a Query object.
Submit a query using a ContactQuery object.
post /contacts/contact-query
Submit a query using a ContactQuery object.
Query Parameters
- offset: (integer - default: 0)
Skip over a number of elements by specifying an offset value for the query
Example:
20
- limit: (integer - default: 10)
Limit the number of elements on the response
Example:
80
- expand: (string)
Expand object or type for named attribute: "genusType", "recordType", "endReason", "addressee", "address", "reference", or "all" to expand all referenced objects or types. This parameter can be repeated to expand multiples.
Example:
all
Body
Media type: application/json
Type: json
Content:
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "ContactQuery",
"type": "object",
"properties": {
"matchIds": {
"description": "List of Ids to match. Boolean OR performed among multiple Ids.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchKeywords": {
"description": "List keywords to match. Multiple keywords can be added to perform a boolean OR among them. A keyword may be applied to any of the elements defined in this object such as the display name, description or any attribute defined in or implemented by this object.",
"type": "array",
"items": {
"type": "object",
"properties": {
"keyword": {
"description": "keyword to match",
"type": "string"
},
"stringMatchType": {
"description": "the string match type",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchDisplayNames": {
"description": "List of displayName strings to match. Boolean OR performed among multiple displayNames.",
"type": "array",
"items": {
"type": "object",
"properties": {
"displayName": {
"description": "displayName to match",
"type": "string"
},
"stringMatchType": {
"description": "the string match type",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchDescriptions": {
"description": "List of discription strings to match. Boolean OR performed among multiple descriptions.",
"type": "array",
"items": {
"type": "object",
"properties": {
"description": {
"description": "description to match",
"type": "string"
},
"stringMatchType": {
"description": "the string match type",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchGenusTypeIds": {
"description": "List of genus type ids to match. Boolean OR performed among multiple ids.",
"type": "array",
"items": {
"type": "object",
"properties": {
"genusTypeid": {
"description": "genus type id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchRecordTypeIds": {
"description": "List of record type ids to match. Boolean OR performed among multiple ids.",
"type": "array",
"items": {
"type": "object",
"properties": {
"genusTypeid": {
"description": "record type id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchEffective": {
"description": "Match effective objects where the current date falls within the start and end dates inclusive. true to match any effective, false to match ineffective",
"type": "boolean"
},
"matchStartDate": {
"description": "Matches temporals whose start date falls in between the given dates inclusive.",
"type": "object",
"properties": {
"start": {
"description": "start of date range",
"type": "string",
"format": "date-time"
},
"end": {
"description": "end of date range",
"type": "string",
"format": "date-time"
},
"match": {
"description": "true if a positive match, false for negative match",
"type": "boolean"
}
}
},
"matchEndDate": {
"description": "Matches temporals whose end date falls in between the given dates inclusive.",
"type": "object",
"properties": {
"start": {
"description": "start of date range",
"type": "string",
"format": "date-time"
},
"end": {
"description": "end of date range",
"type": "string",
"format": "date-time"
},
"match": {
"description": "true if a positive match, false for negative match",
"type": "boolean"
}
}
},
"matchEndReasonIds": {
"description": "List of end reason Id's to match.",
"type": "array",
"items": {
"type": "object",
"properties": {
"stateId": {
"description": "id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"endReasonQueries": {
"description": "process.StateQueries to match end reason state. Each query performs a boolean OR.",
"type": "array",
"items": {
"type": "object"
}
},
"matchAnyEndReason": {
"description": "Match end reasons with any value. true to match Contacts with any end reason, false to match Contacts with no end reason",
"type": "boolean"
},
"matchAddressIds": {
"description": "List of address Ids for this query to match contact that have a related address.",
"type": "array",
"items": {
"type": "object",
"properties": {
"ruleId": {
"description": "id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"addressQueries": {
"description": "AddressQueries to match the address. Each query performs a boolean OR.",
"type": "array",
"items": {
"type": "object"
}
},
"matchReferenceIds": {
"description": "List of reference Ids for this query to match contact that have a related reference.",
"type": "array",
"items": {
"type": "object",
"properties": {
"ruleId": {
"description": "id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"referenceQueries": {
"description": "ReferenceQueries to match the reference. Each query performs a boolean OR.",
"type": "array",
"items": {
"type": "object"
}
},
"matchAddresseeIds": {
"description": "List of Resource Ids for this query to match addressee.",
"type": "array",
"items": {
"type": "object",
"properties": {
"addresseeId": {
"description": "id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"addresseeQueries": {
"description": "resource.ResourceQueries to match the Addressee. Each query performs a boolean OR.",
"type": "array",
"items": {
"type": "object"
}
},
"matchAnyAddressee": {
"description": "Match addressee with any value. true to match Contacts with any addressee, false to match Contacts with no addressee",
"type": "boolean"
},
"matchAddressBookIds": {
"description": "List of AddressBook Id's to match.",
"type": "array",
"items": {
"type": "object",
"properties": {
"addressBookId": {
"description": "Address Book id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"addressBookQueries": {
"description": "AddressBookQueries to match Address Book. Each query performs a boolean OR.",
"type": "array",
"items": {
"type": "object"
}
}
}
}
Example:
{
"matchDisplayNames": [
{
"displayName": "string to exclude",
"match": false
}
]
}
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
[
{
"id": "contact.Contact:1386@base.url",
"uri": "http://base.url/open/campusapi/contact/contact/contact.Contact%3A1386%40base.url",
"displayName": "Display Name of this Contact",
"description": "The description of this Contact",
"genusTypeId": "type.Type:defaultContactType@base.url",
"recordTypeIds": [ "type.Type:exampleContactRecordType@campusapi.org", "..."],
"startDate": "2020-10-03T06:30:00.000Z",
"endDate": "2020-12-18T19:30:00.000Z",
"endReasonId": "process.State:1386@base.url",
"addressId": "contact.Address:4591@base.url",
"referenceId": "id.Id:5589@base.url",
"addresseeId": "resource.Resource:3679@base.url"
},
{
"...": "..."
}
]
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
Entity representing a Contact form metadata.
Get form metadata for creating a new Contact.
get /contacts/metadata
Get form metadata for creating a new Contact.
Query Parameters
- addressId: required(string)
the address of this metadatum.
Example:
contact.Address%3A343%40base.url
- referenceId: required(string)
the reference of this metadatum.
Example:
resource.Resource%3A504%40base.url
- genusType: (string)
specify a particular contact type to create
Example:
type.Type%3AexampleContactType%40dxtera.org
- recordType: (array of )
specify support for one or more contact record types
Example:
[ "type.Type%3AexampleContactRecordType%40campusapi.org", "..." ]
- addressBookId: (string)
specify in which address-book to create this contact
Example:
contact.AddressBook%3A8374%40base.url
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"$schema": "http://json-schema.org/draft/2019-9/schema#",
"title": "Contact",
"type": "object",
"required": ["displayName"],
"properties": {
"id": {
"description": "The unique id of this contact, provided by system.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"uri": {
"description": "The uri of this contact, provided by system.",
"type": "string",
"format": "uri",
"readOnly": true
},
"displayName": {
"description": "The name of this contact for display.",
"type": "string",
"read-only": false,
"minLength": 1,
"maxLength": 128,
"pattern": "",
"default": "",
"enum": [],
"elementId": "Contact.Contact:displayName@base.url",
"existingValue": "The Existing Name",
"elementLabel": "Name",
"instructions": "Enter a name for this contact",
"linked": false
},
"description": {
"description": "The description of this contact.",
"type": "string",
"read-only": false,
"minLength": 0,
"maxLength": 128,
"pattern": "",
"default": "",
"enum": [],
"elementId": "Contact.Contact:displayName@demo.base.url",
"existingValue": "The Existing Description",
"elementLabel": "Description",
"instructions": "Enter a description for this contact",
"linked": false
},
"genusTypeId": {
"description": "Id of the immutable type of this contact. Default type set by system unless specified in query parameter on initial post.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"recordTypeIds": {
"description": "Type Ids of record types available on this contact. Record types define special attributes available on an object to support specific applications or classes of applications and are documented elsewhere.",
"type": "array",
"items": {
"type": "string",
"format": "osid-id"
},
"readOnly": true
},
"startDate": {
"description": "The starting date of this contact.",
"type": "string",
"format": "date-time",
"read-only": false,
"pattern": "",
"default": "",
"enum": [],
"elementId": "Contact.Contact:startDate@base.url",
"existingValue": "2020-10-03T08:00:00.000Z",
"elementLabel": "Start Date",
"instructions": "Enter a starting date for this contact",
"linked": false
},
"endDate": {
"description": "The ending date of this contact.",
"type": "string",
"format": "date-time",
"read-only": false,
"pattern": "",
"default": "",
"enum": [],
"elementId": "Contact.Contact:endDate@base.url",
"existingValue": "2020-12-18T17:00:00.000Z",
"elementLabel": "End Date",
"instructions": "Enter an ending date for this contact",
"linked": false
},
"endReasonId": {
"description": "The reason this contact ended. A process/State object.",
"type": "string",
"format": "osid-id",
"read-only": false,
"pattern": "",
"default": "",
"enum": [],
"elementId": "Contact.Contact:endReason@base.url",
"existingValue": "process.State:1860@base.url",
"elementLabel": "End Reason",
"instructions": "Select the reason this contact ended",
"linked": false
},
"addresseeId": {
"description": "The addressee.",
"type": "string",
"type": "string",
"format": "osid-id",
"read-only": false,
"pattern": "",
"default": "",
"enum": [],
"elementId": "contact.Contact:addressee@dxtera.org",
"existingValue": null,
"elementLabel": "Addressee",
"instructions": "Enter the Id of the addressee for this contact.",
"linked": false
}
}
}
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
Entity representing a Contact
Get a particular Contact given its id.
Update a particular Contact given its id.
Delete a particular Contact given its id.
get /contacts/{contactId}
Get a particular Contact given its id.
URI Parameters
- contactId: required(string)
Query Parameters
- expand: (string)
Expand object or type for named attribute: "genusType", "recordType", "endReason", "addressee", "address", "reference", or "all" to expand all referenced objects or types. This parameter can be repeated to expand multiples.
Example:
all
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"id": "contact.Contact:1386@base.url",
"uri": "http://base.url/open/campusapi/contact/contact/contact.Contact%3A1386%40base.url",
"displayName": "Display Name of this Contact",
"description": "The description of this Contact",
"genusTypeId": "type.Type:defaultContactType@base.url",
"recordTypeIds": [ "type.Type:exampleContactRecordType@campusapi.org", "..."],
"startDate": "2020-10-03T06:30:00.000Z",
"endDate": "2020-12-18T19:30:00.000Z",
"endReasonId": "process.State:1386@base.url",
"addressId": "contact.Address:4591@base.url",
"referenceId": "id.Id:5589@base.url",
"addresseeId": "resource.Resource:3679@base.url"
}
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{"message": "Contact not found" }
put /contacts/{contactId}
Update a particular Contact given its id.
URI Parameters
- contactId: required(string)
Body
Media type: application/json
Type: json
Content:
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Contact",
"type": "object",
"properties": {
"id": {
"description": "The unique id of this contact, provided by system.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"uri": {
"description": "The uri of this contact, provided by system.",
"type": "string",
"format": "uri",
"readOnly": true
},
"displayName": {
"description": "The name of this contact for display.",
"type": "string"
},
"description": {
"description": "The description of this contact.",
"type": "string"
},
"genusTypeId": {
"description": "Id of the immutable type of this contact. Default type set by system unless specified in query parameter.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"recordTypeIds": {
"description": "Type Ids of record types available on this contact. Record types define special attributes available on an object to support specific applications or classes of applications and are documented elsewhere.",
"type": "array",
"items": {
"type": "string",
"format": "osid-id"
},
"readOnly": true
},
"startDate": {
"description": "The starting date of this contact.",
"type": "string",
"format": "date-time"
},
"endDate": {
"description": "The ending date of this contact.",
"type": "string",
"format": "date-time"
},
"endReasonId": {
"description": "The reason this contact ended.",
"type": "string",
"format": "osid-id"
},
"addressId": {
"description": "The address associated with this contact.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"referenceId": {
"description": "The reference associated with this contact.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"addresseeId": {
"description": "The addressee.",
"type": "string",
"format": "osid-id"
}
}
}
Example:
{
"displayName": "Display Name of this Contact",
"description": "The description of this Contact",
"startDate": "2020-10-03T06:30:00.000Z",
"endDate": "2020-12-18T19:30:00.000Z",
"endReasonId": "process.State:379@base.url",
"addresseeId": "resource.Resource:1994@base.url"
}
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{ "message": "The Contact has been updated" }
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{"message": "Contact not found" }
delete /contacts/{contactId}
Delete a particular Contact given its id.
URI Parameters
- contactId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{ "message": "The Contact has been deleted" }
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{"message": "Contact not found" }
Entity representing a Contact form metadata for update
Get form metadata for updating an existing Contact.
get /contacts/{contactId}/metadata
Get form metadata for updating an existing Contact.
URI Parameters
- contactId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"$schema": "http://json-schema.org/draft/2019-9/schema#",
"title": "Contact",
"type": "object",
"required": ["displayName"],
"properties": {
"id": {
"description": "The unique id of this contact, provided by system.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"uri": {
"description": "The uri of this contact, provided by system.",
"type": "string",
"format": "uri",
"readOnly": true
},
"displayName": {
"description": "The name of this contact for display.",
"type": "string",
"read-only": false,
"minLength": 1,
"maxLength": 128,
"pattern": "",
"default": "",
"enum": [],
"elementId": "Contact.Contact:displayName@base.url",
"existingValue": "The Existing Name",
"elementLabel": "Name",
"instructions": "Enter a name for this contact",
"linked": false
},
"description": {
"description": "The description of this contact.",
"type": "string",
"read-only": false,
"minLength": 0,
"maxLength": 128,
"pattern": "",
"default": "",
"enum": [],
"elementId": "Contact.Contact:displayName@demo.base.url",
"existingValue": "The Existing Description",
"elementLabel": "Description",
"instructions": "Enter a description for this contact",
"linked": false
},
"genusTypeId": {
"description": "Id of the immutable type of this contact. Default type set by system unless specified in query parameter on initial post.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"recordTypeIds": {
"description": "Type Ids of record types available on this contact. Record types define special attributes available on an object to support specific applications or classes of applications and are documented elsewhere.",
"type": "array",
"items": {
"type": "string",
"format": "osid-id"
},
"readOnly": true
},
"startDate": {
"description": "The starting date of this contact.",
"type": "string",
"format": "date-time",
"read-only": false,
"pattern": "",
"default": "",
"enum": [],
"elementId": "Contact.Contact:startDate@base.url",
"existingValue": "2020-10-03T08:00:00.000Z",
"elementLabel": "Start Date",
"instructions": "Enter a starting date for this contact",
"linked": false
},
"endDate": {
"description": "The ending date of this contact.",
"type": "string",
"format": "date-time",
"read-only": false,
"pattern": "",
"default": "",
"enum": [],
"elementId": "Contact.Contact:endDate@base.url",
"existingValue": "2020-12-18T17:00:00.000Z",
"elementLabel": "End Date",
"instructions": "Enter an ending date for this contact",
"linked": false
},
"endReasonId": {
"description": "The reason this contact ended. A process/State object.",
"type": "string",
"format": "osid-id",
"read-only": false,
"pattern": "",
"default": "",
"enum": [],
"elementId": "Contact.Contact:endReason@base.url",
"existingValue": "process.State:1860@base.url",
"elementLabel": "End Reason",
"instructions": "Select the reason this contact ended",
"linked": false
},
"addresseeId": {
"description": "The addressee.",
"type": "string",
"type": "string",
"format": "osid-id",
"read-only": false,
"pattern": "",
"default": "",
"enum": [],
"elementId": "contact.Contact:addressee@dxtera.org",
"existingValue": null,
"elementLabel": "Addressee",
"instructions": "Enter the Id of the addressee for this contact.",
"linked": false
}
}
}
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{"message": "contact not found" }
/addresses
Collection of Addresses in a system, federation of systems, or in a default AddressBook.
Get all Addresses in the system or default AddressBook.
Create a new Address in the default AddressBook.
get /addresses
Get all Addresses in the system or default AddressBook.
Query Parameters
- offset: (integer - default: 0)
Skip over a number of elements by specifying an offset value for the query
Example:
20
- limit: (integer - default: 10)
Limit the number of elements on the response
Example:
80
- expand: (string)
Expand object or type for named attribute: "genusType", "recordType", "resource", or "all" to expand all referenced objects or types. This parameter can be repeated to expand multiples.
Example:
all
- genusTypeId: (string)
The id string to match a genusType
Example:
type.Type%3AexampleAddressType%40dxtera.org
- parentGenusTypeId: (string)
The id string to match a parent genusType
Example:
type.Type%3AparentTypeExampleAddressType%40dxtera.org
- recordTypeId: (string)
The id string to match a recordType
Example:
type.Type%3AexampleAddressType%40campusapi.org
- resourceId: (string)
Id string to match resource.
Example:
resource.Resource%3A3690%40base.url
- addressBookId: (string)
The id string to match a addressBook
Example:
contact.AddressBook%3A8374%40base.url
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
[
{
"id": "contact.Address:9405@base.url",
"uri": "http://base.url/open/campusapi/contact/address/contact.Address%3A9405%40base.url",
"displayName": "Display Name of this Address",
"description": "The description of this Address",
"genusTypeId": "type.Type:defaultAddressType@base.url",
"recordTypeIds": [ "type.Type:exampleAddressRecordType@campusapi.org", "..."],
"resourceId": "resource.Resource:673@base.url"
},
{
"...": "..."
}
]
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
post /addresses
Create a new Address in the default AddressBook.
Query Parameters
- genusType: (string)
specify a particular address type to create
Example:
type.Type%3AexampleAddressType%40dxtera.org
- recordType: (array of )
specify support for one or more address record types
Example:
[ "type.Type%3AexampleAddressRecordType%40campusapi.org", "..." ]
- addressBookId: (string)
specify in which address-book to create this address
Example:
contact.AddressBook%3A8374%40base.url
Body
Media type: application/json
Type: json
Content:
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Address",
"type": "object",
"properties": {
"id": {
"description": "The unique id of this address, provided by system.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"uri": {
"description": "The uri of this address, provided by system.",
"type": "string",
"format": "uri",
"readOnly": true
},
"displayName": {
"description": "The name of this address for display.",
"type": "string"
},
"description": {
"description": "The description of this address.",
"type": "string"
},
"genusTypeId": {
"description": "Id of the immutable type of this address. Default type set by system unless specified in query parameter.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"recordTypeIds": {
"description": "Type Ids of record types available on this address. Record types define special attributes available on an object to support specific applications or classes of applications and are documented elsewhere.",
"type": "array",
"items": {
"type": "string",
"format": "osid-id"
},
"readOnly": true
},
"resourceId": {
"description": "The resource to which this address belongs.",
"type": "string",
"format": "osid-id"
}
}
}
Example:
{
"displayName": "Display Name of this Address",
"description": "The description of this Address",
"resourceId": "resource.Resource:1691@base.url"
}
Query the collection of Addresses in a system, federation of systems, or in a default addressBook by posting a Query object.
Submit a query using a AddressQuery object.
post /addresses/address-query
Submit a query using a AddressQuery object.
Query Parameters
- offset: (integer - default: 0)
Skip over a number of elements by specifying an offset value for the query
Example:
20
- limit: (integer - default: 10)
Limit the number of elements on the response
Example:
80
- expand: (string)
Expand object or type for named attribute: "genusType", "recordType", "resource", or "all" to expand all referenced objects or types. This parameter can be repeated to expand multiples.
Example:
all
Body
Media type: application/json
Type: json
Content:
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "AddressQuery",
"type": "object",
"properties": {
"matchIds": {
"description": "List of Ids to match. Boolean OR performed among multiple Ids.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchKeywords": {
"description": "List keywords to match. Multiple keywords can be added to perform a boolean OR among them. A keyword may be applied to any of the elements defined in this object such as the display name, description or any attribute defined in or implemented by this object.",
"type": "array",
"items": {
"type": "object",
"properties": {
"keyword": {
"description": "keyword to match",
"type": "string"
},
"stringMatchType": {
"description": "the string match type",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchDisplayNames": {
"description": "List of displayName strings to match. Boolean OR performed among multiple displayNames.",
"type": "array",
"items": {
"type": "object",
"properties": {
"displayName": {
"description": "displayName to match",
"type": "string"
},
"stringMatchType": {
"description": "the string match type",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchDescriptions": {
"description": "List of discription strings to match. Boolean OR performed among multiple descriptions.",
"type": "array",
"items": {
"type": "object",
"properties": {
"description": {
"description": "description to match",
"type": "string"
},
"stringMatchType": {
"description": "the string match type",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchGenusTypeIds": {
"description": "List of genus type ids to match. Boolean OR performed among multiple ids.",
"type": "array",
"items": {
"type": "object",
"properties": {
"genusTypeid": {
"description": "genus type id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchRecordTypeIds": {
"description": "List of record type ids to match. Boolean OR performed among multiple ids.",
"type": "array",
"items": {
"type": "object",
"properties": {
"genusTypeid": {
"description": "record type id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchResourceIds": {
"description": "List of Resource Ids for this query to match resource.",
"type": "array",
"items": {
"type": "object",
"properties": {
"resourceId": {
"description": "id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"resourceQueries": {
"description": "resource.ResourceQueries to match the Resource. Each query performs a boolean OR.",
"type": "array",
"items": {
"type": "object"
}
},
"matchAnyResource": {
"description": "Match resource with any value. true to match Addresses with any resource, false to match Addresses with no resource",
"type": "boolean"
},
"matchAddressBookIds": {
"description": "List of AddressBook Id's to match.",
"type": "array",
"items": {
"type": "object",
"properties": {
"addressBookId": {
"description": "Address Book id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"addressBookQueries": {
"description": "AddressBookQueries to match Address Book. Each query performs a boolean OR.",
"type": "array",
"items": {
"type": "object"
}
}
}
}
Example:
{
"matchDisplayNames": [
{
"displayName": "string to exclude",
"match": false
}
]
}
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
[
{
"id": "contact.Address:9405@base.url",
"uri": "http://base.url/open/campusapi/contact/address/contact.Address%3A9405%40base.url",
"displayName": "Display Name of this Address",
"description": "The description of this Address",
"genusTypeId": "type.Type:defaultAddressType@base.url",
"recordTypeIds": [ "type.Type:exampleAddressRecordType@campusapi.org", "..."],
"resourceId": "resource.Resource:673@base.url"
},
{
"...": "..."
}
]
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
Entity representing a Address form metadata.
Get form metadata for creating a new Address.
get /addresses/metadata
Get form metadata for creating a new Address.
Query Parameters
- genusType: (string)
specify a particular address type to create
Example:
type.Type%3AexampleAddressType%40dxtera.org
- recordType: (array of )
specify support for one or more address record types
Example:
[ "type.Type%3AexampleAddressRecordType%40campusapi.org", "..." ]
- addressBookId: (string)
specify in which address-book to create this address
Example:
contact.AddressBook%3A8374%40base.url
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"$schema": "http://json-schema.org/draft/2019-9/schema#",
"title": "Address",
"type": "object",
"required": ["displayName"],
"properties": {
"id": {
"description": "The unique id of this address, provided by system.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"uri": {
"description": "The uri of this address, provided by system.",
"type": "string",
"format": "uri",
"readOnly": true
},
"displayName": {
"description": "The name of this address for display.",
"type": "string",
"read-only": false,
"minLength": 1,
"maxLength": 128,
"pattern": "",
"default": "",
"enum": [],
"elementId": "Address.Address:displayName@base.url",
"existingValue": "The Existing Name",
"elementLabel": "Name",
"instructions": "Enter a name for this address",
"linked": false
},
"description": {
"description": "The description of this address.",
"type": "string",
"read-only": false,
"minLength": 0,
"maxLength": 128,
"pattern": "",
"default": "",
"enum": [],
"elementId": "Address.Address:displayName@demo.base.url",
"existingValue": "The Existing Description",
"elementLabel": "Description",
"instructions": "Enter a description for this address",
"linked": false
},
"genusTypeId": {
"description": "Id of the immutable type of this address. Default type set by system unless specified in query parameter on initial post.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"recordTypeIds": {
"description": "Type Ids of record types available on this address. Record types define special attributes available on an object to support specific applications or classes of applications and are documented elsewhere.",
"type": "array",
"items": {
"type": "string",
"format": "osid-id"
},
"readOnly": true
},
"resourceId": {
"description": "The resource to which this address belongs.",
"type": "string",
"type": "string",
"format": "osid-id",
"read-only": false,
"pattern": "",
"default": "",
"enum": [],
"elementId": "contact.Address:resource@dxtera.org",
"existingValue": null,
"elementLabel": "Resource",
"instructions": "Enter the Id of the resource for this address.",
"linked": false
}
}
}
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
Entity representing a Address
Get a particular Address given its id.
Update a particular Address given its id.
Delete a particular Address given its id.
get /addresses/{addressId}
Get a particular Address given its id.
URI Parameters
- addressId: required(string)
Query Parameters
- expand: (string)
Expand object or type for named attribute: "genusType", "recordType", "resource", or "all" to expand all referenced objects or types. This parameter can be repeated to expand multiples.
Example:
all
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"id": "contact.Address:9405@base.url",
"uri": "http://base.url/open/campusapi/contact/address/contact.Address%3A9405%40base.url",
"displayName": "Display Name of this Address",
"description": "The description of this Address",
"genusTypeId": "type.Type:defaultAddressType@base.url",
"recordTypeIds": [ "type.Type:exampleAddressRecordType@campusapi.org", "..."],
"resourceId": "resource.Resource:673@base.url"
}
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{"message": "Address not found" }
put /addresses/{addressId}
Update a particular Address given its id.
URI Parameters
- addressId: required(string)
Body
Media type: application/json
Type: json
Content:
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Address",
"type": "object",
"properties": {
"id": {
"description": "The unique id of this address, provided by system.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"uri": {
"description": "The uri of this address, provided by system.",
"type": "string",
"format": "uri",
"readOnly": true
},
"displayName": {
"description": "The name of this address for display.",
"type": "string"
},
"description": {
"description": "The description of this address.",
"type": "string"
},
"genusTypeId": {
"description": "Id of the immutable type of this address. Default type set by system unless specified in query parameter.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"recordTypeIds": {
"description": "Type Ids of record types available on this address. Record types define special attributes available on an object to support specific applications or classes of applications and are documented elsewhere.",
"type": "array",
"items": {
"type": "string",
"format": "osid-id"
},
"readOnly": true
},
"resourceId": {
"description": "The resource to which this address belongs.",
"type": "string",
"format": "osid-id"
}
}
}
Example:
{
"displayName": "Display Name of this Address",
"description": "The description of this Address",
"resourceId": "resource.Resource:1691@base.url"
}
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{ "message": "The Address has been updated" }
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{"message": "Address not found" }
delete /addresses/{addressId}
Delete a particular Address given its id.
URI Parameters
- addressId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{ "message": "The Address has been deleted" }
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{"message": "Address not found" }
Entity representing a Address form metadata for update
Get form metadata for updating an existing Address.
get /addresses/{addressId}/metadata
Get form metadata for updating an existing Address.
URI Parameters
- addressId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"$schema": "http://json-schema.org/draft/2019-9/schema#",
"title": "Address",
"type": "object",
"required": ["displayName"],
"properties": {
"id": {
"description": "The unique id of this address, provided by system.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"uri": {
"description": "The uri of this address, provided by system.",
"type": "string",
"format": "uri",
"readOnly": true
},
"displayName": {
"description": "The name of this address for display.",
"type": "string",
"read-only": false,
"minLength": 1,
"maxLength": 128,
"pattern": "",
"default": "",
"enum": [],
"elementId": "Address.Address:displayName@base.url",
"existingValue": "The Existing Name",
"elementLabel": "Name",
"instructions": "Enter a name for this address",
"linked": false
},
"description": {
"description": "The description of this address.",
"type": "string",
"read-only": false,
"minLength": 0,
"maxLength": 128,
"pattern": "",
"default": "",
"enum": [],
"elementId": "Address.Address:displayName@demo.base.url",
"existingValue": "The Existing Description",
"elementLabel": "Description",
"instructions": "Enter a description for this address",
"linked": false
},
"genusTypeId": {
"description": "Id of the immutable type of this address. Default type set by system unless specified in query parameter on initial post.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"recordTypeIds": {
"description": "Type Ids of record types available on this address. Record types define special attributes available on an object to support specific applications or classes of applications and are documented elsewhere.",
"type": "array",
"items": {
"type": "string",
"format": "osid-id"
},
"readOnly": true
},
"resourceId": {
"description": "The resource to which this address belongs.",
"type": "string",
"type": "string",
"format": "osid-id",
"read-only": false,
"pattern": "",
"default": "",
"enum": [],
"elementId": "contact.Address:resource@dxtera.org",
"existingValue": null,
"elementLabel": "Resource",
"instructions": "Enter the Id of the resource for this address.",
"linked": false
}
}
}
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{"message": "address not found" }
/address-books
Collection of AddressBooks in a system or federation of systems.
Get all AddressBooks.
Create a new AddressBook.
get /address-books
Get all AddressBooks.
Query Parameters
- offset: (integer - default: 0)
Skip over a number of elements by specifying an offset value for the query
Example:
20
- limit: (integer - default: 10)
Limit the number of elements on the response
Example:
80
- expand: (string)
Expand object or type for named attribute: "genusType", "recordType", "provider", "branding", or "all" to expand all referenced objects or types. This parameter can be repeated to expand multiples.
Example:
all
- genusTypeId: (string)
The id string to match a genusType
Example:
type.Type%3AexampleAddressBookType%40dxtera.org
- parentGenusTypeId: (string)
The id string to match a parent genusType
Example:
type.Type%3AparentTypeExampleAddressBookType%40dxtera.org
- recordTypeId: (string)
The id string to match a recordType
Example:
type.Type%3AexampleAddressBookType%40campusapi.org
- providerId: (string)
Id string to match provider.
Example:
resource.Resource%3A3007%40demo.dxtera.org
- contactId: (string)
Get address-books mapped to this contact.
Example:
contact.Contact%3A539%40demo.dxtera.org
- addressId: (string)
Get address-books mapped to this address.
Example:
contact.Address%3A539%40demo.dxtera.org
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
[
{
"id": "contact.AddressBook:4079@base.url",
"uri": "http://base.url/open/campusapi/contact/addressBook/contact.AddressBook%3A4079%40base.url",
"displayName": "Display Name of this AddressBook",
"description": "The description of this AddressBook",
"genusTypeId": "type.Type:defaultAddressBookType@base.url",
"recordTypeIds": [ "type.Type:exampleAddressBookRecordType@campusapi.org", "..."],
"providerId": "resource.Resource:123@base.url",
"brandingId": "asset.Asset:AddressBook@base.url",
"license": "The license that applies to this AddressBook"
},
{
"...": "..."
}
]
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
post /address-books
Create a new AddressBook.
Query Parameters
- genusType: (string)
specify a particular addressBook type to create
Example:
type.Type%3AexampleAddressBookType%40dxtera.org
- recordType: (array of )
specify support for one or more addressBook record types
Example:
[ "type.Type%3AexampleAddressBookRecordType%40campusapi.org", "..." ]
Body
Media type: application/json
Type: json
Content:
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "AddressBook",
"type": "object",
"properties": {
"id": {
"description": "The unique id of this address book, provided by system.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"uri": {
"description": "The uri of this address book, provided by system.",
"type": "string",
"format": "uri",
"readOnly": true
},
"displayName": {
"description": "The name of this address book for display.",
"type": "string"
},
"description": {
"description": "The description of this address book.",
"type": "string"
},
"genusTypeId": {
"description": "Id of the immutable type of this address book. Default type set by system unless specified in query parameter.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"recordTypeIds": {
"description": "Type Ids of record types available on this address book. Record types define special attributes available on an object to support specific applications or classes of applications and are documented elsewhere.",
"type": "array",
"items": {
"type": "string",
"format": "osid-id"
},
"readOnly": true
},
"providerId": {
"description": "The provider of this address book.",
"type": "string",
"format": "osid-id"
},
"brandingIds": {
"description": "The branding of this address book. A collection of Assets.",
"type": "array",
"items" : {
"type": "string",
"format": "osid-id"
}
},
"license": {
"description": "The licensing that applies to this address book.",
"type": "string"
}
}
}
Example:
{
"displayName": "Display Name of this AddressBook",
"description": "The description of this AddressBook",
"providerId": "resource.Resource:123@base.url",
"brandingId": "asset.Asset:AddressBook@base.url",
"license": "The license that applies to this AddressBook"
}
Query the collection of AddressBooks in a system, federation of systems, or in a default addressBook by posting a Query object.
Submit a query using a AddressBookQuery object.
post /address-books/address-book-query
Submit a query using a AddressBookQuery object.
Query Parameters
- offset: (integer - default: 0)
Skip over a number of elements by specifying an offset value for the query
Example:
20
- limit: (integer - default: 10)
Limit the number of elements on the response
Example:
80
- expand: (string)
Expand object or type for named attribute: "genusType", "recordType", or "all" to expand all referenced objects or types. This parameter can be repeated to expand multiples.
Example:
all
Body
Media type: application/json
Type: json
Content:
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "AddressBookQuery",
"type": "object",
"properties": {
"matchIds": {
"description": "List of Ids to match. Boolean OR performed among multiple Ids.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchKeywords": {
"description": "List keywords to match. Multiple keywords can be added to perform a boolean OR among them. A keyword may be applied to any of the elements defined in this object such as the display name, description or any attribute defined in or implemented by this object.",
"type": "array",
"items": {
"type": "object",
"properties": {
"keyword": {
"description": "keyword to match",
"type": "string"
},
"stringMatchType": {
"description": "the string match type",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchDisplayNames": {
"description": "List of displayName strings to match. Boolean OR performed among multiple displayNames.",
"type": "array",
"items": {
"type": "object",
"properties": {
"displayName": {
"description": "displayName to match",
"type": "string"
},
"stringMatchType": {
"description": "the string match type",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchDescriptions": {
"description": "List of discription strings to match. Boolean OR performed among multiple descriptions.",
"type": "array",
"items": {
"type": "object",
"properties": {
"description": {
"description": "description to match",
"type": "string"
},
"stringMatchType": {
"description": "the string match type",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchGenusTypeIds": {
"description": "List of genus type ids to match. Boolean OR performed among multiple ids.",
"type": "array",
"items": {
"type": "object",
"properties": {
"genusTypeid": {
"description": "genus type id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchRecordTypeIds": {
"description": "List of record type ids to match. Boolean OR performed among multiple ids.",
"type": "array",
"items": {
"type": "object",
"properties": {
"genusTypeid": {
"description": "record type id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchProviderIds": {
"description": "List of provider Ids to match.",
"type": "array",
"items": {
"type": "object",
"properties": {
"stateId": {
"description": "id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"providerQueries": {
"description": "resource.ResourceQuery for provider. Each query performs a boolean OR.",
"type": "array",
"items": {
"type": "object"
},
"matchAnyProvider": {
"description": "Match providers with any value. true to match AddressBook with any provider, false to match AddressBook with no provider",
"type": "boolean"
}
},
"matchBrandingIds": {
"description": "List of branding asset Ids to match.",
"type": "array",
"items": {
"type": "object",
"properties": {
"stateId": {
"description": "id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"brandingQueries": {
"description": "repository.AssetQuery for branding. Each query performs a boolean OR.",
"type": "array",
"items": {
"type": "object"
}
},
"matchAnyBranding": {
"description": "Match brandingss with any value. true to match AddressBook with any branding, false to match AddressBook with no branding",
"type": "boolean"
},
"matchlicenses": {
"description": "List of license strings to match. Boolean OR performed among multiple descriptions.",
"type": "array",
"items": {
"type": "object",
"properties": {
"license": {
"description": "license to match",
"type": "string"
},
"stringMatchType": {
"description": "the string match type",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"matchAddressBookIds": {
"description": "List of AddressBook Id's to match.",
"type": "array",
"items": {
"type": "object",
"properties": {
"addressBookId": {
"description": "Address Book id to match",
"type": "string",
"format": "osid-id"
},
"match": {
"description": "true for a positive match, false for a negative match",
"type": "boolean"
}
}
}
},
"addressBookQueries": {
"description": "AddressBookQueries to match Address Book. Each query performs a boolean OR.",
"type": "array",
"items": {
"type": "object"
}
}
}
}
Example:
{
"matchDisplayNames": [
{
"displayName": "string to exclude",
"match": false
}
]
}
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
[
{
"id": "contact.AddressBook:4079@base.url",
"uri": "http://base.url/open/campusapi/contact/addressBook/contact.AddressBook%3A4079%40base.url",
"displayName": "Display Name of this AddressBook",
"description": "The description of this AddressBook",
"genusTypeId": "type.Type:defaultAddressBookType@base.url",
"recordTypeIds": [ "type.Type:exampleAddressBookRecordType@campusapi.org", "..."],
"providerId": "resource.Resource:123@base.url",
"brandingId": "asset.Asset:AddressBook@base.url",
"license": "The license that applies to this AddressBook"
},
{
"...": "..."
}
]
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
Entity representing a AddressBook form metadata.
Get form metadata for creating a new AddressBook.
get /address-books/metadata
Get form metadata for creating a new AddressBook.
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"$schema": "http://json-schema.org/draft/2019-9/schema#",
"title": "AddressBook",
"type": "object",
"required": ["displayName"],
"properties": {
"id": {
"description": "The unique id of this address book, provided by system.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"uri": {
"description": "The uri of this address book, provided by system.",
"type": "string",
"format": "uri",
"readOnly": true
},
"displayName": {
"description": "The name of this address book for display.",
"type": "string",
"read-only": false,
"minLength": 1,
"maxLength": 128,
"pattern": "",
"default": "",
"enum": [],
"elementId": "AddressBook.AddressBook:displayName@base.url",
"existingValue": "The Existing Name",
"elementLabel": "Name",
"instructions": "Enter a name for this address book",
"linked": false
},
"description": {
"description": "The description of this address book.",
"type": "string",
"read-only": false,
"minLength": 0,
"maxLength": 128,
"pattern": "",
"default": "",
"enum": [],
"elementId": "AddressBook.AddressBook:displayName@demo.base.url",
"existingValue": "The Existing Description",
"elementLabel": "Description",
"instructions": "Enter a description for this address book",
"linked": false
},
"genusTypeId": {
"description": "Id of the immutable type of this address book. Default type set by system unless specified in query parameter on initial post.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"recordTypeIds": {
"description": "Type Ids of record types available on this address book. Record types define special attributes available on an object to support specific applications or classes of applications and are documented elsewhere.",
"type": "array",
"items": {
"type": "string",
"format": "osid-id"
},
"readOnly": true
},
"providerId": {
"description": "The provider of this address book.",
"type": "string",
"format": "osid-id",
"read-only": false,
"pattern": "",
"default": "",
"enum": [],
"elementId": "AddressBook.AddressBook:provider@base.url",
"existingValue": "",
"elementLabel": "Provider",
"instructions": "Enter the provider of this address book",
"linked": false
},
"brandingIds": {
"description": "The branding of this address book. A list of Assets.",
"type": "array",
"items" : {
"type": "string",
"format": "osid-id",
"pattern": "",
"enum": []
},
"read-only": false,
"default": [],
"elementId": "AddressBook.AddressBook:branding@base.url",
"existingValue": "",
"elementLabel": "Branding",
"instructions": "Enter the branding images for this address book",
"linked": false
},
"license": {
"description": "The licensing that applies to this address book.",
"type": "string",
"read-only": false,
"minLength": 0,
"maxLength": 128,
"pattern": "",
"default": "",
"enum": [],
"elementId": "AddressBook.AddressBook:license@base.url",
"existingValue": "The Existing License",
"elementLabel": "License",
"instructions": "Include a license for this address book",
"linked": false
}
}
}
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
The root AddressBooks in the AddressBook hierarchy. A node with no parents is an orphan. While all AddressBook Ids are known to the hierarchy, an orphan does not appear in the hierarchy unless explicitly added as a root node or child of another node.
Get all root root-address-book
get /address-books/root-address-book
Get all root root-address-book
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
[
{
"id": "contact.AddressBook:4079@base.url",
"uri": "http://base.url/open/campusapi/contact/addressBook/contact.AddressBook%3A4079%40base.url",
"displayName": "Display Name of this AddressBook",
"description": "The description of this AddressBook",
"genusTypeId": "type.Type:defaultAddressBookType@base.url",
"recordTypeIds": [ "type.Type:exampleAddressBookRecordType@campusapi.org", "..."],
"providerId": "resource.Resource:123@base.url",
"brandingId": "asset.Asset:AddressBook@base.url",
"license": "The license that applies to this AddressBook"
},
{
"...": "..."
}
]
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
Entity representing a AddressBook
Get a particular AddressBook given its id.
Update a particular AddressBook given its id.
Delete a particular AddressBook given its id.
get /address-books/{addressBookId}
Get a particular AddressBook given its id.
URI Parameters
- addressBookId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"id": "contact.AddressBook:4079@base.url",
"uri": "http://base.url/open/campusapi/contact/addressBook/contact.AddressBook%3A4079%40base.url",
"displayName": "Display Name of this AddressBook",
"description": "The description of this AddressBook",
"genusTypeId": "type.Type:defaultAddressBookType@base.url",
"recordTypeIds": [ "type.Type:exampleAddressBookRecordType@campusapi.org", "..."],
"providerId": "resource.Resource:123@base.url",
"brandingId": "asset.Asset:AddressBook@base.url",
"license": "The license that applies to this AddressBook"
}
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{"message": "AddressBook not found" }
put /address-books/{addressBookId}
Update a particular AddressBook given its id.
URI Parameters
- addressBookId: required(string)
Body
Media type: application/json
Type: json
Content:
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "AddressBook",
"type": "object",
"properties": {
"id": {
"description": "The unique id of this address book, provided by system.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"uri": {
"description": "The uri of this address book, provided by system.",
"type": "string",
"format": "uri",
"readOnly": true
},
"displayName": {
"description": "The name of this address book for display.",
"type": "string"
},
"description": {
"description": "The description of this address book.",
"type": "string"
},
"genusTypeId": {
"description": "Id of the immutable type of this address book. Default type set by system unless specified in query parameter.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"recordTypeIds": {
"description": "Type Ids of record types available on this address book. Record types define special attributes available on an object to support specific applications or classes of applications and are documented elsewhere.",
"type": "array",
"items": {
"type": "string",
"format": "osid-id"
},
"readOnly": true
},
"providerId": {
"description": "The provider of this address book.",
"type": "string",
"format": "osid-id"
},
"brandingIds": {
"description": "The branding of this address book. A collection of Assets.",
"type": "array",
"items" : {
"type": "string",
"format": "osid-id"
}
},
"license": {
"description": "The licensing that applies to this address book.",
"type": "string"
}
}
}
Example:
{
"displayName": "Display Name of this AddressBook",
"description": "The description of this AddressBook",
"providerId": "resource.Resource:123@base.url",
"brandingId": "asset.Asset:AddressBook@base.url",
"license": "The license that applies to this AddressBook"
}
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{ "message": "The AddressBook has been updated" }
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{"message": "AddressBook not found" }
delete /address-books/{addressBookId}
Delete a particular AddressBook given its id.
URI Parameters
- addressBookId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{ "message": "The AddressBook has been deleted" }
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{"message": "AddressBook not found" }
Entity representing a AddressBook form metadata for update
Get form metadata for updating an existing AddressBook.
get /address-books/{addressBookId}/metadata
Get form metadata for updating an existing AddressBook.
URI Parameters
- addressBookId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{
"$schema": "http://json-schema.org/draft/2019-9/schema#",
"title": "AddressBook",
"type": "object",
"required": ["displayName"],
"properties": {
"id": {
"description": "The unique id of this address book, provided by system.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"uri": {
"description": "The uri of this address book, provided by system.",
"type": "string",
"format": "uri",
"readOnly": true
},
"displayName": {
"description": "The name of this address book for display.",
"type": "string",
"read-only": false,
"minLength": 1,
"maxLength": 128,
"pattern": "",
"default": "",
"enum": [],
"elementId": "AddressBook.AddressBook:displayName@base.url",
"existingValue": "The Existing Name",
"elementLabel": "Name",
"instructions": "Enter a name for this address book",
"linked": false
},
"description": {
"description": "The description of this address book.",
"type": "string",
"read-only": false,
"minLength": 0,
"maxLength": 128,
"pattern": "",
"default": "",
"enum": [],
"elementId": "AddressBook.AddressBook:displayName@demo.base.url",
"existingValue": "The Existing Description",
"elementLabel": "Description",
"instructions": "Enter a description for this address book",
"linked": false
},
"genusTypeId": {
"description": "Id of the immutable type of this address book. Default type set by system unless specified in query parameter on initial post.",
"type": "string",
"format": "osid-id",
"readOnly": true
},
"recordTypeIds": {
"description": "Type Ids of record types available on this address book. Record types define special attributes available on an object to support specific applications or classes of applications and are documented elsewhere.",
"type": "array",
"items": {
"type": "string",
"format": "osid-id"
},
"readOnly": true
},
"providerId": {
"description": "The provider of this address book.",
"type": "string",
"format": "osid-id",
"read-only": false,
"pattern": "",
"default": "",
"enum": [],
"elementId": "AddressBook.AddressBook:provider@base.url",
"existingValue": "",
"elementLabel": "Provider",
"instructions": "Enter the provider of this address book",
"linked": false
},
"brandingIds": {
"description": "The branding of this address book. A list of Assets.",
"type": "array",
"items" : {
"type": "string",
"format": "osid-id",
"pattern": "",
"enum": []
},
"read-only": false,
"default": [],
"elementId": "AddressBook.AddressBook:branding@base.url",
"existingValue": "",
"elementLabel": "Branding",
"instructions": "Enter the branding images for this address book",
"linked": false
},
"license": {
"description": "The licensing that applies to this address book.",
"type": "string",
"read-only": false,
"minLength": 0,
"maxLength": 128,
"pattern": "",
"default": "",
"enum": [],
"elementId": "AddressBook.AddressBook:license@base.url",
"existingValue": "The Existing License",
"elementLabel": "License",
"instructions": "Include a license for this address book",
"linked": false
}
}
}
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{"message": "addressBook not found" }
Get child AddressBooks for the given AddressBook in the hierarchy.
get /address-books/{addressBookId}/children
Get child AddressBooks for the given AddressBook in the hierarchy.
URI Parameters
- addressBookId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
[
{
"id": "contact.AddressBook:4079@base.url",
"uri": "http://base.url/open/campusapi/contact/addressBook/contact.AddressBook%3A4079%40base.url",
"displayName": "Display Name of this AddressBook",
"description": "The description of this AddressBook",
"genusTypeId": "type.Type:defaultAddressBookType@base.url",
"recordTypeIds": [ "type.Type:exampleAddressBookRecordType@campusapi.org", "..."],
"providerId": "resource.Resource:123@base.url",
"brandingId": "asset.Asset:AddressBook@base.url",
"license": "The license that applies to this AddressBook"
},
{
"...": "..."
}
]
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
Add AddressBook as child of the given AddressBook in the hierarchy.
Remove the given AddressBook as a child of the given AddressBook in the hierarchy.
put /address-books/{addressBookId}/children/{childId}
Add AddressBook as child of the given AddressBook in the hierarchy.
URI Parameters
- addressBookId: required(string)
- childId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{ "message": "The child AddressBook has been added to the hierarchy" }
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{ "message": "addressBook not found" }
delete /address-books/{addressBookId}/children/{childId}
Remove the given AddressBook as a child of the given AddressBook in the hierarchy.
URI Parameters
- addressBookId: required(string)
- childId: required(string)
Get parent AddressBooks for the given AddressBook in the hierarchy.
get /address-books/{addressBookId}/parents
Get parent AddressBooks for the given AddressBook in the hierarchy.
URI Parameters
- addressBookId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
[
{
"id": "contact.AddressBook:4079@base.url",
"uri": "http://base.url/open/campusapi/contact/addressBook/contact.AddressBook%3A4079%40base.url",
"displayName": "Display Name of this AddressBook",
"description": "The description of this AddressBook",
"genusTypeId": "type.Type:defaultAddressBookType@base.url",
"recordTypeIds": [ "type.Type:exampleAddressBookRecordType@campusapi.org", "..."],
"providerId": "resource.Resource:123@base.url",
"brandingId": "asset.Asset:AddressBook@base.url",
"license": "The license that applies to this AddressBook"
},
{
"...": "..."
}
]
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
Get all Contacts in this AddressBook
get /address-books/{addressBookId}/contacts
Get all Contacts in this AddressBook
URI Parameters
- addressBookId: required(string)
Query Parameters
- offset: (integer - default: 0)
Skip over a number of elements by specifying an offset value for the query
Example:
20
- limit: (integer - default: 10)
Limit the number of elements on the response
Example:
80
- expand: (string)
Expand object or type for named attribute: "genusType", "recordType", "endReason", "addressee", "address", "reference", or "all" to expand all referenced objects or types. This parameter can be repeated to expand multiples.
Example:
all
- genusTypeId: (string)
The id string to match a genusType
Example:
type.Type%3AexampleContactType%40dxtera.org
- parentGenusTypeId: (string)
The id string to match a parent genusType
Example:
type.Type%3AparentTypeExampleContactType%40dxtera.org
- recordTypeId: (string)
The id string to match a recordType
Example:
type.Type%3AexampleContactType%40campusapi.org
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
[
{
"id": "contact.Contact:1386@base.url",
"uri": "http://base.url/open/campusapi/contact/contact/contact.Contact%3A1386%40base.url",
"displayName": "Display Name of this Contact",
"description": "The description of this Contact",
"genusTypeId": "type.Type:defaultContactType@base.url",
"recordTypeIds": [ "type.Type:exampleContactRecordType@campusapi.org", "..."],
"startDate": "2020-10-03T06:30:00.000Z",
"endDate": "2020-12-18T19:30:00.000Z",
"endReasonId": "process.State:1386@base.url",
"addressId": "contact.Address:4591@base.url",
"referenceId": "id.Id:5589@base.url",
"addresseeId": "resource.Resource:3679@base.url"
},
{
"...": "..."
}
]
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
Add the given Contact to this AddressBook
Remove the given Contact from the AddressBook.
put /address-books/{addressBookId}/contacts/{contactId}
Add the given Contact to this AddressBook
URI Parameters
- addressBookId: required(string)
- contactId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{ "message": "Contact has been added to AddressBook" }
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{ "message": "Contact not found" }
delete /address-books/{addressBookId}/contacts/{contactId}
Remove the given Contact from the AddressBook.
URI Parameters
- addressBookId: required(string)
- contactId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{ "message": "Contact has been removed" }
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{ "message": "Contact not found" }
Get all Addresses in this AddressBook
get /address-books/{addressBookId}/addresses
Get all Addresses in this AddressBook
URI Parameters
- addressBookId: required(string)
Query Parameters
- offset: (integer - default: 0)
Skip over a number of elements by specifying an offset value for the query
Example:
20
- limit: (integer - default: 10)
Limit the number of elements on the response
Example:
80
- expand: (string)
Expand object or type for named attribute: "genusType", "recordType", "resource", or "all" to expand all referenced objects or types. This parameter can be repeated to expand multiples.
Example:
all
- genusTypeId: (string)
The id string to match a genusType
Example:
type.Type%3AexampleAddressType%40dxtera.org
- parentGenusTypeId: (string)
The id string to match a parent genusType
Example:
type.Type%3AparentTypeExampleAddressType%40dxtera.org
- recordTypeId: (string)
The id string to match a recordType
Example:
type.Type%3AexampleAddressType%40campusapi.org
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
[
{
"id": "contact.Address:9405@base.url",
"uri": "http://base.url/open/campusapi/contact/address/contact.Address%3A9405%40base.url",
"displayName": "Display Name of this Address",
"description": "The description of this Address",
"genusTypeId": "type.Type:defaultAddressType@base.url",
"recordTypeIds": [ "type.Type:exampleAddressRecordType@campusapi.org", "..."],
"resourceId": "resource.Resource:673@base.url"
},
{
"...": "..."
}
]
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
Add the given Address to this AddressBook
Remove the given Address from the AddressBook.
put /address-books/{addressBookId}/addresses/{addressId}
Add the given Address to this AddressBook
URI Parameters
- addressBookId: required(string)
- addressId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{ "message": "Address has been added to AddressBook" }
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{ "message": "Address not found" }
delete /address-books/{addressBookId}/addresses/{addressId}
Remove the given Address from the AddressBook.
URI Parameters
- addressBookId: required(string)
- addressId: required(string)
HTTP status code 200
Body
Media type: application/json
Type: any
Example:
{ "message": "Address has been removed" }
HTTP status code 403
Body
Media type: application/json
Type: any
Example:
{"message": "Permission denied" }
HTTP status code 404
Body
Media type: application/json
Type: any
Example:
{ "message": "Address not found" }