- Contacts v0.27.2
- Error Types
- Authentication
- Contact
- API
- Configuration
-
Schemas
- abstractRequest
- abstractResource
- address
- addressType
- attributes
- authorization
- authorizationType
- citizenship
- collection
- configurationGroup
- configurationGroupSummary
- configurationGroups
- configurationGroupsEmbedded
- configurationSchema
- configurationSchemaValue
- configurationValue
- configurationValues
- contact
- contactState
- contactVerificationFields
- contacts
- createAuthorization
- createContact
- emailType
- error
- errorResponse
- foreignPoliticalFigureAssociation
- identification
- identificationType
- identityVerification
- kycAnswers
- labelGroup
- labelGroups
- labelItem
- link
- links
- occupation
- phoneNumber
- phoneNumberType
- preferredContactMethod
- residencyStatus
- root
- simpleAddress
- simpleContact
- simpleLabel
- summaryContact
- typedEmailAddress
- yearsAtAddress
Contacts v0.27.2
Scroll down for code samples, example requests and responses. Select a language for code samples from the tabs above or the mobile navigation menu.
Contacts manages contact information for people within the Apiture Banking APIs. This API also supports service configuration operations.
Error Types
Error responses in this API may have one of the type
values described below.
See Errors for more information
on error responses and error types.
contactNotUpdatable
Description: A contact with an associated user record cannot be updated.
Remediation: Some contact properties require multi-factor authentication on update. Use the Users API to update the user record associated with this contact instead.
groupNotFound
Description: No Groups were found for the specified groupName.
Remediation: Check to make sure that the supplied groupName corresponds to an apiture group resource.
invalidContactState
Description: Actions on contacts may only be performed if they are in one of the required states.
Remediation: Check the state of the contact and the applicable allowed state transitions in the Contacts API documentation.
The attributes
object in the error may have the following properties:
Property | Type | Description |
---|---|---|
currentState | string |
undefined |
allowedStates | [undefined ] |
undefined |
invalidUnmaskedQueryParam
Description: Only the values of false or true can be supplied with the unmasked query parameter.
Remediation: Resubmit the operation without the query parameter or check the documentation for valid query params.
noSuchContact
Description: No contact was found for the specified contactId.
Remediation: Ensure that the supplied contactId corresponds to an existing contact resource.
valueNotFound
Description: No Group values were found for the specified groupName and valueName.
Remediation: Check to make sure that the supplied groupName and valueName corresponds to an apiture group and value resource.
Download OpenAPI Definition (YAML)
Base URLs:
Authentication
- API Key (
apiKey
)- header parameter: API-Key
- API Key based authentication. Each client application must pass its private, unique API key, allocated in the developer portal, via the
API-Key: {api-key}
request header.
- OAuth2 authentication (
accessToken
)- OAuth2 client access token authentication. The client authenticates against the server at
authorizationUrl
, passing the client's privateclientId
(and optionalclientSecret
) as part of this flow. The client obtains an access token from the server attokenUrl
. It then passes the received access token via theAuthorization: Bearer {access-token}
header in subsequent API calls. The authorization process also returns a refresh token which the client should use to renew the access token before it expires. - Flow:
authorizationCode
- Authorization URL = https://auth.devbank.apiture.com/auth/oauth2/authorize
- Token URL = https://api.devbank.apiture.com/auth/oauth2/token
- OAuth2 client access token authentication. The client authenticates against the server at
Scope | Scope Description |
---|---|
profiles/read |
Read access to user and contact related resources. |
profiles/write |
Write (update) access to user and contact related resources. |
profiles/delete |
Delete access to user and contact related resources. |
profiles/readPii |
Read access to personally identifiable information such as tax ID numbers, phone numbers, email and postal addresses. This must be granted in addition to the profiles/read scope in order to read such data, but is included in the profiles/full scope. |
profiles/full |
Full access to user and contact related resources. |
Contact
Contact Data for Individuals
getContacts
Code samples
# You can also use wget
curl -X GET https://api.devbank.apiture.com/contacts/contacts \
-H 'Accept: application/hal+json' \
-H 'API-Key: API_KEY' \
-H 'Authorization: Bearer {access-token}'
GET https://api.devbank.apiture.com/contacts/contacts HTTP/1.1
Host: api.devbank.apiture.com
Accept: application/hal+json
const fetch = require('node-fetch');
const headers = {
'Accept':'application/hal+json',
'API-Key':'API_KEY',
'Authorization':'Bearer {access-token}'
};
fetch('https://api.devbank.apiture.com/contacts/contacts',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
var headers = {
'Accept':'application/hal+json',
'API-Key':'API_KEY',
'Authorization':'Bearer {access-token}'
};
$.ajax({
url: 'https://api.devbank.apiture.com/contacts/contacts',
method: 'get',
headers: headers,
success: function(data) {
console.log(JSON.stringify(data));
}
})
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/hal+json',
'API-Key' => 'API_KEY',
'Authorization' => 'Bearer {access-token}'
}
result = RestClient.get 'https://api.devbank.apiture.com/contacts/contacts',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/hal+json',
'API-Key': 'API_KEY',
'Authorization': 'Bearer {access-token}'
}
r = requests.get('https://api.devbank.apiture.com/contacts/contacts', params={
}, headers = headers)
print r.json()
URL obj = new URL("https://api.devbank.apiture.com/contacts/contacts");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/hal+json"},
"API-Key": []string{"API_KEY"},
"Authorization": []string{"Bearer {access-token}"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "https://api.devbank.apiture.com/contacts/contacts", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
Return a collection of contacts
GET https://api.devbank.apiture.com/contacts/contacts
Return a paginated sortable filterable searchable collection of contacts. The links in the response include pagination links.
Parameters
Parameter | Description |
---|---|
start in: query | integer(int64) The zero-based index of the first contact item to include in this page. The default 0 denotes the beginning of the collection. format: int64 default: 0 |
limit in: query | integer(int32) The maximum number of contact representations to return in this page. format: int32 default: 100 |
sortBy in: query | string Optional sort criteria. See sort criteria format, such as ?sortBy=field1,-field2 . |
filter in: query | string Optional filter criteria. See filtering. |
q in: query | string Optional search string. See searching. |
state in: query | string Subset the contacts collection to those whose state matches this value. Use | to separate multiple values. For example, ?state=pending matches only items whose state is pending ; ?state=removed|inactive matches items whose state is removed or inactive . This is combined with an implicit and with other filters if they are used. See filtering.enum values: pending , active , inactive , removed |
occupation in: query | string Subset the contacts collection to those with this name value. Use | to separate multiple values. For example, ?occupation=officeAndAdministrativeSupport matches only items whose occupation is officeAndAdministrativeSupport ; ?occupation=officeAndAdministrativeSupport|transportationAndMaterialMoving matches items whose occupation is officeAndAdministrativeSupport or transportationAndMaterialMoving . This is combined with an implicit and with other filters if they are used. See filtering. The values are derived from the occupation label group from the result of the getLabels operation. Note: The enum list will be removed in future update to the API. enum values: unknown , architectureAndEngineering , artsDesignEntertainmentSportsAndMedia , buildingAndGroundsCleaningAndMaintenance , businessAndFinancialOperations , communityAndSocialService , computerAndMathematical , constructionAndExtraction , educationTrainingAndLibrary , farmingFishingAndForestry , foodPreparationAndServingRelated , healthcarePractitionersAndTechnical , healthcareSupport , installationMaintenanceAndRepair , legal , lifePhysicalAndSciences , management , militarySpecific , officeAndAdministrativeSupport , personalCareAndService , production , protectiveServices , salesAndRelated , transportationAndMaterialMoving , other , notApplicable |
unmasked in: query | boolean When requesting a contact, the full taxId is not included in the response by default, for security reasons. Include this query parameter, with a value of true , to request that the response body includes the full tax Id number. Such requests are auditable.default: false |
Example responses
200 Response
{
"_profile": "https://production.api.apiture.com/schemas/contacts/contacts/v2.2.2/profile.json",
"_links": {
"self": {
"href": "https://api.devbank.apiture.com/contacts/contacts?start=10&limit=10"
},
"first": {
"href": "https://api.devbank.apiture.com/contacts/contacts?start=0&limit=10"
},
"next": {
"href": "https://api.devbank.apiture.com/contacts/contacts?start=20&limit=10"
},
"collection": {
"href": "https://api.devbank.apiture.com/contacts/contacts"
}
},
"start": 10,
"limit": 10,
"count": 67,
"name": "contacts",
"_embedded": {
"items": [
{
"_id": "0399abed-fd3d-4830-a88b-30f38b8a365c",
"_profile": "https://production.api.apiture.com/schemas/contacts/summaryContact/v2.2.2/profile.json",
"_links": {
"self": {
"href": "https://api.devbank.apiture.com/contacts/contacts/0399abed-fd3d-4830-a88b-30f38b8a365c"
}
},
"firstName": "John",
"middleName": "Daniel",
"lastName": "Smith",
"preferredName": "John",
"suffix": "MD",
"identification": [
{
"type": "taxId",
"value": "*****3333"
}
],
"emailAddresses": [
{
"_id": "pe1",
"value": "api@apiture.com",
"type": "personal"
},
{
"_id": "we1",
"value": "support@apiture.com",
"type": "work"
}
],
"phones": [
{
"_id": "hp1",
"type": "home",
"number": "+19105550155"
},
{
"_id": "mp1",
"type": "mobile",
"number": "+19105550155"
}
],
"birthdate": "1974-10-27",
"citizenship": [
{
"countryCode": "US",
"state": "citizen"
}
],
"residencyStatus": "resident",
"occupation": "officeAndAdministrativeSupport",
"addresses": [
{
"type": "home",
"addressLine1": "555 N Front Street",
"addressLine2": "Suite 5555",
"city": "Wilmington",
"regionCode": "NC",
"postalCode": "28401-5405",
"countryCode": "US"
},
{
"type": "work",
"addressLine1": "123 S 3rd Street",
"addressLine2": "Apt 42",
"city": "Wilmington",
"regionCode": "NC",
"postalCode": "28411-5405",
"countryCode": "US"
}
],
"yearsAtAddress": 3,
"mailingDifferentAddress": false,
"state": "active"
}
]
}
}
Responses
Status | Description |
---|---|
200 | OK |
OK. | |
Schema: contacts |
Status | Description |
---|---|
400 | Bad Request |
Bad Request. The request body or one or more of the query parameters was not well formed. The This error response may have one of the following | |
Schema: errorResponse |
Status | Description |
---|---|
422 | Unprocessable Entity |
Unprocessable Entity. One or more of the query parameters was well formed but otherwise invalid. The _error field in the response will contain details about the request error. | |
Schema: errorResponse |
createContact
Code samples
# You can also use wget
curl -X POST https://api.devbank.apiture.com/contacts/contacts \
-H 'Content-Type: application/hal+json' \
-H 'Accept: application/hal+json' \
-H 'API-Key: API_KEY' \
-H 'Authorization: Bearer {access-token}'
POST https://api.devbank.apiture.com/contacts/contacts HTTP/1.1
Host: api.devbank.apiture.com
Content-Type: application/hal+json
Accept: application/hal+json
const fetch = require('node-fetch');
const inputBody = '{
"_profile": "https://production.api.apiture.com/schemas/contacts/createContact/v2.2.2/profile.json",
"_links": {
"self": {
"href": "https://api.devbank.apiture.com/apiName/resourceName/resourceId"
}
},
"firstName": "John",
"middleName": "Daniel",
"lastName": "Smith",
"preferredName": "John",
"suffix": "MD",
"identification": [
{
"type": "taxId",
"value": "112-22-3333"
}
],
"emailAddresses": [
{
"_id": "ea1",
"value": "api@apiture.com",
"type": "personal",
"id": "pe0"
},
{
"_id": "ek3",
"value": "support@apiture.com",
"type": "work",
"id": "wp1"
}
],
"preferredEmailAddressId": "ea1",
"phones": [
{
"_id": "pa1",
"type": "home",
"number": "+19105550155"
},
{
"_id": "da6",
"type": "mobile",
"number": "+19105550155"
},
{
"_id": "wp1",
"type": "work",
"number": "+19105550162",
"extension": "4512"
}
],
"preferredPhoneId": "pa1",
"birthdate": "1974-10-27",
"citizenship": [
{
"countryCode": "US",
"state": "citizen"
}
],
"residencyStatus": "resident",
"occupation": "officeAndAdministrativeSupport",
"addresses": [
{
"_id": "ha1",
"type": "home",
"addressLine1": "555 N Front Street",
"addressLine2": "Suite 5555",
"city": "Wilmington",
"regionCode": "NC",
"postalCode": "28401-5405",
"countryCode": "US"
},
{
"_id": "wa1",
"type": "work",
"addressLine1": "123 S 3rd Street",
"addressLine2": "Apt 42",
"city": "Wilmington",
"regionCode": "NC",
"postalCode": "28411-5405",
"countryCode": "US"
}
],
"preferredMailingAddressId": "ha1",
"yearsAtAddress": 3,
"mailingDifferentAddress": false,
"state": "active",
"preferredContactMethod": "email"
}';
const headers = {
'Content-Type':'application/hal+json',
'Accept':'application/hal+json',
'API-Key':'API_KEY',
'Authorization':'Bearer {access-token}'
};
fetch('https://api.devbank.apiture.com/contacts/contacts',
{
method: 'POST',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
var headers = {
'Content-Type':'application/hal+json',
'Accept':'application/hal+json',
'API-Key':'API_KEY',
'Authorization':'Bearer {access-token}'
};
$.ajax({
url: 'https://api.devbank.apiture.com/contacts/contacts',
method: 'post',
headers: headers,
success: function(data) {
console.log(JSON.stringify(data));
}
})
require 'rest-client'
require 'json'
headers = {
'Content-Type' => 'application/hal+json',
'Accept' => 'application/hal+json',
'API-Key' => 'API_KEY',
'Authorization' => 'Bearer {access-token}'
}
result = RestClient.post 'https://api.devbank.apiture.com/contacts/contacts',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Content-Type': 'application/hal+json',
'Accept': 'application/hal+json',
'API-Key': 'API_KEY',
'Authorization': 'Bearer {access-token}'
}
r = requests.post('https://api.devbank.apiture.com/contacts/contacts', params={
}, headers = headers)
print r.json()
URL obj = new URL("https://api.devbank.apiture.com/contacts/contacts");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("POST");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Content-Type": []string{"application/hal+json"},
"Accept": []string{"application/hal+json"},
"API-Key": []string{"API_KEY"},
"Authorization": []string{"Bearer {access-token}"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("POST", "https://api.devbank.apiture.com/contacts/contacts", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
Create a new contact
POST https://api.devbank.apiture.com/contacts/contacts
Create a new contact in the contacts collection.
Body parameter
{
"_profile": "https://production.api.apiture.com/schemas/contacts/createContact/v2.2.2/profile.json",
"_links": {
"self": {
"href": "https://api.devbank.apiture.com/apiName/resourceName/resourceId"
}
},
"firstName": "John",
"middleName": "Daniel",
"lastName": "Smith",
"preferredName": "John",
"suffix": "MD",
"identification": [
{
"type": "taxId",
"value": "112-22-3333"
}
],
"emailAddresses": [
{
"_id": "ea1",
"value": "api@apiture.com",
"type": "personal",
"id": "pe0"
},
{
"_id": "ek3",
"value": "support@apiture.com",
"type": "work",
"id": "wp1"
}
],
"preferredEmailAddressId": "ea1",
"phones": [
{
"_id": "pa1",
"type": "home",
"number": "+19105550155"
},
{
"_id": "da6",
"type": "mobile",
"number": "+19105550155"
},
{
"_id": "wp1",
"type": "work",
"number": "+19105550162",
"extension": "4512"
}
],
"preferredPhoneId": "pa1",
"birthdate": "1974-10-27",
"citizenship": [
{
"countryCode": "US",
"state": "citizen"
}
],
"residencyStatus": "resident",
"occupation": "officeAndAdministrativeSupport",
"addresses": [
{
"_id": "ha1",
"type": "home",
"addressLine1": "555 N Front Street",
"addressLine2": "Suite 5555",
"city": "Wilmington",
"regionCode": "NC",
"postalCode": "28401-5405",
"countryCode": "US"
},
{
"_id": "wa1",
"type": "work",
"addressLine1": "123 S 3rd Street",
"addressLine2": "Apt 42",
"city": "Wilmington",
"regionCode": "NC",
"postalCode": "28411-5405",
"countryCode": "US"
}
],
"preferredMailingAddressId": "ha1",
"yearsAtAddress": 3,
"mailingDifferentAddress": false,
"state": "active",
"preferredContactMethod": "email"
}
Parameters
Parameter | Description |
---|---|
| createContact (required) The data necessary to create a new contact. deprecated: true |
Example responses
201 Response
{
"firstName": "John",
"middleName": "Daniel",
"lastName": "Smith",
"preferredName": "John",
"suffix": "MD",
"identification": [
{
"type": "taxId",
"value": "*****3333"
}
],
"emailAddresses": [
{
"_id": "ea1",
"value": "api@apiture.com",
"type": "personal",
"id": "pe0"
},
{
"_id": "ek3",
"value": "support@apiture.com",
"type": "work",
"id": "wp1"
}
],
"preferredEmailAddressId": "ea1",
"phones": [
{
"_id": "pa1",
"type": "home",
"number": "+19105550155"
},
{
"_id": "da6",
"type": "mobile",
"number": "+19105550155"
},
{
"_id": "wp1",
"type": "work",
"number": "+19105550162",
"extension": "4512"
}
],
"preferredPhoneId": "pa1",
"birthdate": "1974-10-27",
"citizenship": [
{
"countryCode": "US",
"state": "citizen"
}
],
"residencyStatus": "resident",
"occupation": "officeAndAdministrativeSupport",
"addresses": [
{
"_id": "ha1",
"type": "home",
"addressLine1": "555 N Front Street",
"addressLine2": "Suite 5555",
"city": "Wilmington",
"regionCode": "NC",
"postalCode": "28401-5405",
"countryCode": "US"
},
{
"_id": "wa1",
"type": "work",
"addressLine1": "123 S 3rd Street",
"addressLine2": "Apt 42",
"city": "Wilmington",
"regionCode": "NC",
"postalCode": "28411-5405",
"countryCode": "US"
}
],
"preferredMailingAddressId": "ha1",
"yearsAtAddress": 3,
"mailingDifferentAddress": false,
"state": "active",
"preferredContactMethod": "email",
"_profile": "https://production.api.apiture.com/schemas/contacts/contact/v2.2.2/profile.json",
"_links": {
"self": {
"href": "https://api.devbank.apiture.com/contacts/contacts/0399abed-fd3d-4830-a88b-30f38b8a365c"
},
"apiture:deactivate": {
"href": "https://api.devbank.apiture.com/contacts/inactiveContacts?contact=0399abed-fd3d-4830-a88b-30f38b8a365c"
}
},
"_id": "0399abed-fd3d-4830-a88b-30f38b8a365c",
"createdAt": "2018-04-17T10:04:46.375Z",
"updatedAt": "2018-04-17T10:12:58.375Z"
}
Responses
Status | Description |
---|---|
201 | Created |
Created. | |
Schema: contact | |
Header | Location string uri |
The URI of the new resource. If the URI begins with / it is relative to the API root context. Else, it is a full URI starting with scheme ://host | |
Header | ETag string |
The ETag response header specifies an entity tag which must be provided in an If-Match request header for PUT or PATCH operations which update the resource. |
Status | Description |
---|---|
400 | Bad Request |
Bad Request. The request body or one or more of the query parameters was not well formed. The _error field in the response will contain details about the request error. | |
Schema: errorResponse |
getContact
Code samples
# You can also use wget
curl -X GET https://api.devbank.apiture.com/contacts/contacts/{contactId} \
-H 'Accept: application/hal+json' \
-H 'If-None-Match: string' \
-H 'API-Key: API_KEY' \
-H 'Authorization: Bearer {access-token}'
GET https://api.devbank.apiture.com/contacts/contacts/{contactId} HTTP/1.1
Host: api.devbank.apiture.com
Accept: application/hal+json
If-None-Match: string
const fetch = require('node-fetch');
const headers = {
'Accept':'application/hal+json',
'If-None-Match':'string',
'API-Key':'API_KEY',
'Authorization':'Bearer {access-token}'
};
fetch('https://api.devbank.apiture.com/contacts/contacts/{contactId}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
var headers = {
'Accept':'application/hal+json',
'If-None-Match':'string',
'API-Key':'API_KEY',
'Authorization':'Bearer {access-token}'
};
$.ajax({
url: 'https://api.devbank.apiture.com/contacts/contacts/{contactId}',
method: 'get',
headers: headers,
success: function(data) {
console.log(JSON.stringify(data));
}
})
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/hal+json',
'If-None-Match' => 'string',
'API-Key' => 'API_KEY',
'Authorization' => 'Bearer {access-token}'
}
result = RestClient.get 'https://api.devbank.apiture.com/contacts/contacts/{contactId}',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/hal+json',
'If-None-Match': 'string',
'API-Key': 'API_KEY',
'Authorization': 'Bearer {access-token}'
}
r = requests.get('https://api.devbank.apiture.com/contacts/contacts/{contactId}', params={
}, headers = headers)
print r.json()
URL obj = new URL("https://api.devbank.apiture.com/contacts/contacts/{contactId}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/hal+json"},
"If-None-Match": []string{"string"},
"API-Key": []string{"API_KEY"},
"Authorization": []string{"Bearer {access-token}"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "https://api.devbank.apiture.com/contacts/contacts/{contactId}", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
Fetch a representation of this contact
GET https://api.devbank.apiture.com/contacts/contacts/{contactId}
Return a HAL representation of this contact resource.
Parameters
Parameter | Description |
---|---|
contactId in: path | string (required) The unique identifier of this contact. This is an opaque string. |
If-None-Match in: header | string The entity tag that was returned in the ETag response. If the resource's current entity tag matches, the GET will return 304 (Not Modified) and no response body, else the resource representation will be returned. |
unmasked in: query | boolean When requesting a contact, the full taxId is not included in the response by default, for security reasons. Include this query parameter, with a value of true , to request that the response body includes the full tax Id number. Such requests are auditable.default: false |
Example responses
200 Response
{
"firstName": "John",
"middleName": "Daniel",
"lastName": "Smith",
"preferredName": "John",
"suffix": "MD",
"identification": [
{
"type": "taxId",
"value": "*****3333"
}
],
"emailAddresses": [
{
"_id": "ea1",
"value": "api@apiture.com",
"type": "personal",
"id": "pe0"
},
{
"_id": "ek3",
"value": "support@apiture.com",
"type": "work",
"id": "wp1"
}
],
"preferredEmailAddressId": "ea1",
"phones": [
{
"_id": "pa1",
"type": "home",
"number": "+19105550155"
},
{
"_id": "da6",
"type": "mobile",
"number": "+19105550155"
},
{
"_id": "wp1",
"type": "work",
"number": "+19105550162",
"extension": "4512"
}
],
"preferredPhoneId": "pa1",
"birthdate": "1974-10-27",
"citizenship": [
{
"countryCode": "US",
"state": "citizen"
}
],
"residencyStatus": "resident",
"occupation": "officeAndAdministrativeSupport",
"addresses": [
{
"_id": "ha1",
"type": "home",
"addressLine1": "555 N Front Street",
"addressLine2": "Suite 5555",
"city": "Wilmington",
"regionCode": "NC",
"postalCode": "28401-5405",
"countryCode": "US"
},
{
"_id": "wa1",
"type": "work",
"addressLine1": "123 S 3rd Street",
"addressLine2": "Apt 42",
"city": "Wilmington",
"regionCode": "NC",
"postalCode": "28411-5405",
"countryCode": "US"
}
],
"preferredMailingAddressId": "ha1",
"yearsAtAddress": 3,
"mailingDifferentAddress": false,
"state": "active",
"preferredContactMethod": "email",
"_profile": "https://production.api.apiture.com/schemas/contacts/contact/v2.2.2/profile.json",
"_links": {
"self": {
"href": "https://api.devbank.apiture.com/contacts/contacts/0399abed-fd3d-4830-a88b-30f38b8a365c"
},
"apiture:deactivate": {
"href": "https://api.devbank.apiture.com/contacts/inactiveContacts?contact=0399abed-fd3d-4830-a88b-30f38b8a365c"
}
},
"_id": "0399abed-fd3d-4830-a88b-30f38b8a365c",
"createdAt": "2018-04-17T10:04:46.375Z",
"updatedAt": "2018-04-17T10:12:58.375Z"
}
Responses
Status | Description |
---|---|
200 | OK |
OK. | |
Schema: contact | |
Header | ETag string |
The ETag response header specifies an entity tag which must be provided in an If-Match request header for PUT or PATCH operations which update this contact resource. |
Status | Description |
---|---|
304 | Not Modified |
Not Modified. The resource has not been modified since it was last fetched. |
Status | Description |
---|---|
400 | Bad Request |
Bad Request. The request body or one or more of the query parameters was not well formed. The This error response may have one of the following | |
Schema: errorResponse |
Status | Description |
---|---|
404 | Not Found |
Not Found. There is no such contact resource at the specified This error response may have one of the following | |
Schema: errorResponse |
updateContact
Code samples
# You can also use wget
curl -X PUT https://api.devbank.apiture.com/contacts/contacts/{contactId} \
-H 'Content-Type: application/hal+json' \
-H 'Accept: application/hal+json' \
-H 'If-Match: string' \
-H 'API-Key: API_KEY' \
-H 'Authorization: Bearer {access-token}'
PUT https://api.devbank.apiture.com/contacts/contacts/{contactId} HTTP/1.1
Host: api.devbank.apiture.com
Content-Type: application/hal+json
Accept: application/hal+json
If-Match: string
const fetch = require('node-fetch');
const inputBody = '{
"firstName": "John",
"middleName": "Daniel",
"lastName": "Smith",
"preferredName": "John",
"suffix": "MD",
"identification": [
{
"type": "taxId",
"value": "*****3333"
}
],
"emailAddresses": [
{
"_id": "ea1",
"value": "api@apiture.com",
"type": "personal",
"id": "pe0"
},
{
"_id": "ek3",
"value": "support@apiture.com",
"type": "work",
"id": "wp1"
}
],
"preferredEmailAddressId": "ea1",
"phones": [
{
"_id": "pa1",
"type": "home",
"number": "+19105550155"
},
{
"_id": "da6",
"type": "mobile",
"number": "+19105550155"
},
{
"_id": "wp1",
"type": "work",
"number": "+19105550162",
"extension": "4512"
}
],
"preferredPhoneId": "pa1",
"birthdate": "1974-10-27",
"citizenship": [
{
"countryCode": "US",
"state": "citizen"
}
],
"residencyStatus": "resident",
"occupation": "officeAndAdministrativeSupport",
"addresses": [
{
"_id": "ha1",
"type": "home",
"addressLine1": "555 N Front Street",
"addressLine2": "Suite 5555",
"city": "Wilmington",
"regionCode": "NC",
"postalCode": "28401-5405",
"countryCode": "US"
},
{
"_id": "wa1",
"type": "work",
"addressLine1": "123 S 3rd Street",
"addressLine2": "Apt 42",
"city": "Wilmington",
"regionCode": "NC",
"postalCode": "28411-5405",
"countryCode": "US"
}
],
"preferredMailingAddressId": "ha1",
"yearsAtAddress": 3,
"mailingDifferentAddress": false,
"state": "active",
"preferredContactMethod": "email",
"_profile": "https://production.api.apiture.com/schemas/contacts/contact/v2.2.2/profile.json",
"_links": {
"self": {
"href": "https://api.devbank.apiture.com/contacts/contacts/0399abed-fd3d-4830-a88b-30f38b8a365c"
},
"apiture:deactivate": {
"href": "https://api.devbank.apiture.com/contacts/inactiveContacts?contact=0399abed-fd3d-4830-a88b-30f38b8a365c"
}
},
"_id": "0399abed-fd3d-4830-a88b-30f38b8a365c",
"createdAt": "2018-04-17T10:04:46.375Z",
"updatedAt": "2018-04-17T10:12:58.375Z"
}';
const headers = {
'Content-Type':'application/hal+json',
'Accept':'application/hal+json',
'If-Match':'string',
'API-Key':'API_KEY',
'Authorization':'Bearer {access-token}'
};
fetch('https://api.devbank.apiture.com/contacts/contacts/{contactId}',
{
method: 'PUT',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
var headers = {
'Content-Type':'application/hal+json',
'Accept':'application/hal+json',
'If-Match':'string',
'API-Key':'API_KEY',
'Authorization':'Bearer {access-token}'
};
$.ajax({
url: 'https://api.devbank.apiture.com/contacts/contacts/{contactId}',
method: 'put',
headers: headers,
success: function(data) {
console.log(JSON.stringify(data));
}
})
require 'rest-client'
require 'json'
headers = {
'Content-Type' => 'application/hal+json',
'Accept' => 'application/hal+json',
'If-Match' => 'string',
'API-Key' => 'API_KEY',
'Authorization' => 'Bearer {access-token}'
}
result = RestClient.put 'https://api.devbank.apiture.com/contacts/contacts/{contactId}',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Content-Type': 'application/hal+json',
'Accept': 'application/hal+json',
'If-Match': 'string',
'API-Key': 'API_KEY',
'Authorization': 'Bearer {access-token}'
}
r = requests.put('https://api.devbank.apiture.com/contacts/contacts/{contactId}', params={
}, headers = headers)
print r.json()
URL obj = new URL("https://api.devbank.apiture.com/contacts/contacts/{contactId}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("PUT");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Content-Type": []string{"application/hal+json"},
"Accept": []string{"application/hal+json"},
"If-Match": []string{"string"},
"API-Key": []string{"API_KEY"},
"Authorization": []string{"Bearer {access-token}"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("PUT", "https://api.devbank.apiture.com/contacts/contacts/{contactId}", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
Update this contact
PUT https://api.devbank.apiture.com/contacts/contacts/{contactId}
Perform a complete replacement of this contact.
Body parameter
{
"firstName": "John",
"middleName": "Daniel",
"lastName": "Smith",
"preferredName": "John",
"suffix": "MD",
"identification": [
{
"type": "taxId",
"value": "*****3333"
}
],
"emailAddresses": [
{
"_id": "ea1",
"value": "api@apiture.com",
"type": "personal",
"id": "pe0"
},
{
"_id": "ek3",
"value": "support@apiture.com",
"type": "work",
"id": "wp1"
}
],
"preferredEmailAddressId": "ea1",
"phones": [
{
"_id": "pa1",
"type": "home",
"number": "+19105550155"
},
{
"_id": "da6",
"type": "mobile",
"number": "+19105550155"
},
{
"_id": "wp1",
"type": "work",
"number": "+19105550162",
"extension": "4512"
}
],
"preferredPhoneId": "pa1",
"birthdate": "1974-10-27",
"citizenship": [
{
"countryCode": "US",
"state": "citizen"
}
],
"residencyStatus": "resident",
"occupation": "officeAndAdministrativeSupport",
"addresses": [
{
"_id": "ha1",
"type": "home",
"addressLine1": "555 N Front Street",
"addressLine2": "Suite 5555",
"city": "Wilmington",
"regionCode": "NC",
"postalCode": "28401-5405",
"countryCode": "US"
},
{
"_id": "wa1",
"type": "work",
"addressLine1": "123 S 3rd Street",
"addressLine2": "Apt 42",
"city": "Wilmington",
"regionCode": "NC",
"postalCode": "28411-5405",
"countryCode": "US"
}
],
"preferredMailingAddressId": "ha1",
"yearsAtAddress": 3,
"mailingDifferentAddress": false,
"state": "active",
"preferredContactMethod": "email",
"_profile": "https://production.api.apiture.com/schemas/contacts/contact/v2.2.2/profile.json",
"_links": {
"self": {
"href": "https://api.devbank.apiture.com/contacts/contacts/0399abed-fd3d-4830-a88b-30f38b8a365c"
},
"apiture:deactivate": {
"href": "https://api.devbank.apiture.com/contacts/inactiveContacts?contact=0399abed-fd3d-4830-a88b-30f38b8a365c"
}
},
"_id": "0399abed-fd3d-4830-a88b-30f38b8a365c",
"createdAt": "2018-04-17T10:04:46.375Z",
"updatedAt": "2018-04-17T10:12:58.375Z"
}
Parameters
Parameter | Description |
---|---|
contactId in: path | string (required) The unique identifier of this contact. This is an opaque string. |
If-Match in: header | string The entity tag that was returned in the ETag response. This must match the current entity tag of the resource. |
| contact (required) A contact. deprecated: true |
Example responses
200 Response
{
"firstName": "John",
"middleName": "Daniel",
"lastName": "Smith",
"preferredName": "John",
"suffix": "MD",
"identification": [
{
"type": "taxId",
"value": "*****3333"
}
],
"emailAddresses": [
{
"_id": "ea1",
"value": "api@apiture.com",
"type": "personal",
"id": "pe0"
},
{
"_id": "ek3",
"value": "support@apiture.com",
"type": "work",
"id": "wp1"
}
],
"preferredEmailAddressId": "ea1",
"phones": [
{
"_id": "pa1",
"type": "home",
"number": "+19105550155"
},
{
"_id": "da6",
"type": "mobile",
"number": "+19105550155"
},
{
"_id": "wp1",
"type": "work",
"number": "+19105550162",
"extension": "4512"
}
],
"preferredPhoneId": "pa1",
"birthdate": "1974-10-27",
"citizenship": [
{
"countryCode": "US",
"state": "citizen"
}
],
"residencyStatus": "resident",
"occupation": "officeAndAdministrativeSupport",
"addresses": [
{
"_id": "ha1",
"type": "home",
"addressLine1": "555 N Front Street",
"addressLine2": "Suite 5555",
"city": "Wilmington",
"regionCode": "NC",
"postalCode": "28401-5405",
"countryCode": "US"
},
{
"_id": "wa1",
"type": "work",
"addressLine1": "123 S 3rd Street",
"addressLine2": "Apt 42",
"city": "Wilmington",
"regionCode": "NC",
"postalCode": "28411-5405",
"countryCode": "US"
}
],
"preferredMailingAddressId": "ha1",
"yearsAtAddress": 3,
"mailingDifferentAddress": false,
"state": "active",
"preferredContactMethod": "email",
"_profile": "https://production.api.apiture.com/schemas/contacts/contact/v2.2.2/profile.json",
"_links": {
"self": {
"href": "https://api.devbank.apiture.com/contacts/contacts/0399abed-fd3d-4830-a88b-30f38b8a365c"
},
"apiture:deactivate": {
"href": "https://api.devbank.apiture.com/contacts/inactiveContacts?contact=0399abed-fd3d-4830-a88b-30f38b8a365c"
}
},
"_id": "0399abed-fd3d-4830-a88b-30f38b8a365c",
"createdAt": "2018-04-17T10:04:46.375Z",
"updatedAt": "2018-04-17T10:12:58.375Z"
}
Responses
Status | Description |
---|---|
200 | OK |
OK. | |
Schema: contact | |
Header | ETag string |
The ETag response header specifies an entity tag which must be provided in an If-Match request header for PUT or PATCH operations which update this contact resource. |
Status | Description |
---|---|
400 | Bad Request |
Bad Request. The request body or one or more of the query parameters was not well formed. The _error field in the response will contain details about the request error. | |
Schema: errorResponse |
Status | Description |
---|---|
404 | Not Found |
Not Found. There is no such contact resource at the specified This error response may have one of the following | |
Schema: errorResponse |
Status | Description |
---|---|
412 | Precondition Failed |
Precondition Failed. The supplied if-Match header value does not match the most recent ETag response header value. The resource has changed in the interim. | |
Schema: errorResponse |
Status | Description |
---|---|
422 | Unprocessable Entity |
Unprocessable Entity. One or more of the query parameters was well formed but otherwise invalid. The _error field in the response will contain details about the request error. | |
Schema: errorResponse |
patchContact
Code samples
# You can also use wget
curl -X PATCH https://api.devbank.apiture.com/contacts/contacts/{contactId} \
-H 'Content-Type: application/hal+json' \
-H 'Accept: application/hal+json' \
-H 'If-Match: string' \
-H 'API-Key: API_KEY' \
-H 'Authorization: Bearer {access-token}'
PATCH https://api.devbank.apiture.com/contacts/contacts/{contactId} HTTP/1.1
Host: api.devbank.apiture.com
Content-Type: application/hal+json
Accept: application/hal+json
If-Match: string
const fetch = require('node-fetch');
const inputBody = '{
"firstName": "John",
"middleName": "Daniel",
"lastName": "Smith",
"preferredName": "John",
"suffix": "MD",
"identification": [
{
"type": "taxId",
"value": "*****3333"
}
],
"emailAddresses": [
{
"_id": "ea1",
"value": "api@apiture.com",
"type": "personal",
"id": "pe0"
},
{
"_id": "ek3",
"value": "support@apiture.com",
"type": "work",
"id": "wp1"
}
],
"preferredEmailAddressId": "ea1",
"phones": [
{
"_id": "pa1",
"type": "home",
"number": "+19105550155"
},
{
"_id": "da6",
"type": "mobile",
"number": "+19105550155"
},
{
"_id": "wp1",
"type": "work",
"number": "+19105550162",
"extension": "4512"
}
],
"preferredPhoneId": "pa1",
"birthdate": "1974-10-27",
"citizenship": [
{
"countryCode": "US",
"state": "citizen"
}
],
"residencyStatus": "resident",
"occupation": "officeAndAdministrativeSupport",
"addresses": [
{
"_id": "ha1",
"type": "home",
"addressLine1": "555 N Front Street",
"addressLine2": "Suite 5555",
"city": "Wilmington",
"regionCode": "NC",
"postalCode": "28401-5405",
"countryCode": "US"
},
{
"_id": "wa1",
"type": "work",
"addressLine1": "123 S 3rd Street",
"addressLine2": "Apt 42",
"city": "Wilmington",
"regionCode": "NC",
"postalCode": "28411-5405",
"countryCode": "US"
}
],
"preferredMailingAddressId": "ha1",
"yearsAtAddress": 3,
"mailingDifferentAddress": false,
"state": "active",
"preferredContactMethod": "email",
"_profile": "https://production.api.apiture.com/schemas/contacts/contact/v2.2.2/profile.json",
"_links": {
"self": {
"href": "https://api.devbank.apiture.com/contacts/contacts/0399abed-fd3d-4830-a88b-30f38b8a365c"
},
"apiture:deactivate": {
"href": "https://api.devbank.apiture.com/contacts/inactiveContacts?contact=0399abed-fd3d-4830-a88b-30f38b8a365c"
}
},
"_id": "0399abed-fd3d-4830-a88b-30f38b8a365c",
"createdAt": "2018-04-17T10:04:46.375Z",
"updatedAt": "2018-04-17T10:12:58.375Z"
}';
const headers = {
'Content-Type':'application/hal+json',
'Accept':'application/hal+json',
'If-Match':'string',
'API-Key':'API_KEY',
'Authorization':'Bearer {access-token}'
};
fetch('https://api.devbank.apiture.com/contacts/contacts/{contactId}',
{
method: 'PATCH',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
var headers = {
'Content-Type':'application/hal+json',
'Accept':'application/hal+json',
'If-Match':'string',
'API-Key':'API_KEY',
'Authorization':'Bearer {access-token}'
};
$.ajax({
url: 'https://api.devbank.apiture.com/contacts/contacts/{contactId}',
method: 'patch',
headers: headers,
success: function(data) {
console.log(JSON.stringify(data));
}
})
require 'rest-client'
require 'json'
headers = {
'Content-Type' => 'application/hal+json',
'Accept' => 'application/hal+json',
'If-Match' => 'string',
'API-Key' => 'API_KEY',
'Authorization' => 'Bearer {access-token}'
}
result = RestClient.patch 'https://api.devbank.apiture.com/contacts/contacts/{contactId}',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Content-Type': 'application/hal+json',
'Accept': 'application/hal+json',
'If-Match': 'string',
'API-Key': 'API_KEY',
'Authorization': 'Bearer {access-token}'
}
r = requests.patch('https://api.devbank.apiture.com/contacts/contacts/{contactId}', params={
}, headers = headers)
print r.json()
URL obj = new URL("https://api.devbank.apiture.com/contacts/contacts/{contactId}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("PATCH");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Content-Type": []string{"application/hal+json"},
"Accept": []string{"application/hal+json"},
"If-Match": []string{"string"},
"API-Key": []string{"API_KEY"},
"Authorization": []string{"Bearer {access-token}"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("PATCH", "https://api.devbank.apiture.com/contacts/contacts/{contactId}", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
Update this contact
PATCH https://api.devbank.apiture.com/contacts/contacts/{contactId}
Perform a partial update of this contact. Fields which are omitted are not updated. Nested _embedded
and _links
are ignored if included.
Body parameter
{
"firstName": "John",
"middleName": "Daniel",
"lastName": "Smith",
"preferredName": "John",
"suffix": "MD",
"identification": [
{
"type": "taxId",
"value": "*****3333"
}
],
"emailAddresses": [
{
"_id": "ea1",
"value": "api@apiture.com",
"type": "personal",
"id": "pe0"
},
{
"_id": "ek3",
"value": "support@apiture.com",
"type": "work",
"id": "wp1"
}
],
"preferredEmailAddressId": "ea1",
"phones": [
{
"_id": "pa1",
"type": "home",
"number": "+19105550155"
},
{
"_id": "da6",
"type": "mobile",
"number": "+19105550155"
},
{
"_id": "wp1",
"type": "work",
"number": "+19105550162",
"extension": "4512"
}
],
"preferredPhoneId": "pa1",
"birthdate": "1974-10-27",
"citizenship": [
{
"countryCode": "US",
"state": "citizen"
}
],
"residencyStatus": "resident",
"occupation": "officeAndAdministrativeSupport",
"addresses": [
{
"_id": "ha1",
"type": "home",
"addressLine1": "555 N Front Street",
"addressLine2": "Suite 5555",
"city": "Wilmington",
"regionCode": "NC",
"postalCode": "28401-5405",
"countryCode": "US"
},
{
"_id": "wa1",
"type": "work",
"addressLine1": "123 S 3rd Street",
"addressLine2": "Apt 42",
"city": "Wilmington",
"regionCode": "NC",
"postalCode": "28411-5405",
"countryCode": "US"
}
],
"preferredMailingAddressId": "ha1",
"yearsAtAddress": 3,
"mailingDifferentAddress": false,
"state": "active",
"preferredContactMethod": "email",
"_profile": "https://production.api.apiture.com/schemas/contacts/contact/v2.2.2/profile.json",
"_links": {
"self": {
"href": "https://api.devbank.apiture.com/contacts/contacts/0399abed-fd3d-4830-a88b-30f38b8a365c"
},
"apiture:deactivate": {
"href": "https://api.devbank.apiture.com/contacts/inactiveContacts?contact=0399abed-fd3d-4830-a88b-30f38b8a365c"
}
},
"_id": "0399abed-fd3d-4830-a88b-30f38b8a365c",
"createdAt": "2018-04-17T10:04:46.375Z",
"updatedAt": "2018-04-17T10:12:58.375Z"
}
Parameters
Parameter | Description |
---|---|
contactId in: path | string (required) The unique identifier of this contact. This is an opaque string. |
If-Match in: header | string The entity tag that was returned in the ETag response. This must match the current entity tag of the resource. |
| contact (required) A contact. deprecated: true |
Example responses
200 Response
{
"firstName": "John",
"middleName": "Daniel",
"lastName": "Smith",
"preferredName": "John",
"suffix": "MD",
"identification": [
{
"type": "taxId",
"value": "*****3333"
}
],
"emailAddresses": [
{
"_id": "ea1",
"value": "api@apiture.com",
"type": "personal",
"id": "pe0"
},
{
"_id": "ek3",
"value": "support@apiture.com",
"type": "work",
"id": "wp1"
}
],
"preferredEmailAddressId": "ea1",
"phones": [
{
"_id": "pa1",
"type": "home",
"number": "+19105550155"
},
{
"_id": "da6",
"type": "mobile",
"number": "+19105550155"
},
{
"_id": "wp1",
"type": "work",
"number": "+19105550162",
"extension": "4512"
}
],
"preferredPhoneId": "pa1",
"birthdate": "1974-10-27",
"citizenship": [
{
"countryCode": "US",
"state": "citizen"
}
],
"residencyStatus": "resident",
"occupation": "officeAndAdministrativeSupport",
"addresses": [
{
"_id": "ha1",
"type": "home",
"addressLine1": "555 N Front Street",
"addressLine2": "Suite 5555",
"city": "Wilmington",
"regionCode": "NC",
"postalCode": "28401-5405",
"countryCode": "US"
},
{
"_id": "wa1",
"type": "work",
"addressLine1": "123 S 3rd Street",
"addressLine2": "Apt 42",
"city": "Wilmington",
"regionCode": "NC",
"postalCode": "28411-5405",
"countryCode": "US"
}
],
"preferredMailingAddressId": "ha1",
"yearsAtAddress": 3,
"mailingDifferentAddress": false,
"state": "active",
"preferredContactMethod": "email",
"_profile": "https://production.api.apiture.com/schemas/contacts/contact/v2.2.2/profile.json",
"_links": {
"self": {
"href": "https://api.devbank.apiture.com/contacts/contacts/0399abed-fd3d-4830-a88b-30f38b8a365c"
},
"apiture:deactivate": {
"href": "https://api.devbank.apiture.com/contacts/inactiveContacts?contact=0399abed-fd3d-4830-a88b-30f38b8a365c"
}
},
"_id": "0399abed-fd3d-4830-a88b-30f38b8a365c",
"createdAt": "2018-04-17T10:04:46.375Z",
"updatedAt": "2018-04-17T10:12:58.375Z"
}
Responses
Status | Description |
---|---|
200 | OK |
OK. | |
Schema: contact | |
Header | ETag string |
The ETag response header specifies an entity tag which must be provided in an If-Match request header for PUT or PATCH operations which update this contact resource. |
Status | Description |
---|---|
400 | Bad Request |
Bad Request. The request body or one or more of the query parameters was not well formed. The _error field in the response will contain details about the request error. | |
Schema: errorResponse |
Status | Description |
---|---|
404 | Not Found |
Not Found. There is no such contact resource at the specified This error response may have one of the following | |
Schema: errorResponse |
Status | Description |
---|---|
409 | Conflict |
Conflict. There is no such contact resource at the specified
This error response may have one of the following | |
Schema: errorResponse |
Status | Description |
---|---|
412 | Precondition Failed |
Precondition Failed. The supplied if-Match header value does not match the most recent ETag response header value. The resource has changed in the interim. | |
Schema: errorResponse |
Status | Description |
---|---|
422 | Unprocessable Entity |
Unprocessable Entity. One or more of the query parameters was well formed but otherwise invalid. The _error field in the response will contain details about the request error. | |
Schema: errorResponse |
activateContact
Code samples
# You can also use wget
curl -X POST https://api.devbank.apiture.com/contacts/activeContacts?contact=string \
-H 'Accept: application/hal+json' \
-H 'If-Match: string' \
-H 'API-Key: API_KEY' \
-H 'Authorization: Bearer {access-token}'
POST https://api.devbank.apiture.com/contacts/activeContacts?contact=string HTTP/1.1
Host: api.devbank.apiture.com
Accept: application/hal+json
If-Match: string
const fetch = require('node-fetch');
const headers = {
'Accept':'application/hal+json',
'If-Match':'string',
'API-Key':'API_KEY',
'Authorization':'Bearer {access-token}'
};
fetch('https://api.devbank.apiture.com/contacts/activeContacts?contact=string',
{
method: 'POST',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
var headers = {
'Accept':'application/hal+json',
'If-Match':'string',
'API-Key':'API_KEY',
'Authorization':'Bearer {access-token}'
};
$.ajax({
url: 'https://api.devbank.apiture.com/contacts/activeContacts',
method: 'post',
data: '?contact=string',
headers: headers,
success: function(data) {
console.log(JSON.stringify(data));
}
})
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/hal+json',
'If-Match' => 'string',
'API-Key' => 'API_KEY',
'Authorization' => 'Bearer {access-token}'
}
result = RestClient.post 'https://api.devbank.apiture.com/contacts/activeContacts',
params: {
'contact' => 'string'
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/hal+json',
'If-Match': 'string',
'API-Key': 'API_KEY',
'Authorization': 'Bearer {access-token}'
}
r = requests.post('https://api.devbank.apiture.com/contacts/activeContacts', params={
'contact': 'string'
}, headers = headers)
print r.json()
URL obj = new URL("https://api.devbank.apiture.com/contacts/activeContacts?contact=string");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("POST");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/hal+json"},
"If-Match": []string{"string"},
"API-Key": []string{"API_KEY"},
"Authorization": []string{"Bearer {access-token}"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("POST", "https://api.devbank.apiture.com/contacts/activeContacts", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
Activate a contact.
POST https://api.devbank.apiture.com/contacts/activeContacts
Activate a contact from an inactive state.
This operation is invoked from the apiture:activate
link on a contact resource when that contact is eligible to be activated. This operation is only allowed if the state is inactive
.
This changes the state
to active
.
Parameters
Parameter | Description |
---|---|
contact in: query | string (required) A string which identifies an existing contact to activate, deactivate, or remove by POST ing it to the corresponding resource set. The server supplies this value in a link within the representation of a contact. The value may be a {contactId} or a contact URI. |
contactUri in: query | string The URI of an existing contact which is eligible to be activated. This parameter is deprecated. Use the ?contact= query parameter instead. |
If-Match in: header | string The entity tag that was returned in the ETag response. This must match the current entity tag of the resource. |
Example responses
200 Response
{
"firstName": "John",
"middleName": "Daniel",
"lastName": "Smith",
"preferredName": "John",
"suffix": "MD",
"identification": [
{
"type": "taxId",
"value": "*****3333"
}
],
"emailAddresses": [
{
"_id": "ea1",
"value": "api@apiture.com",
"type": "personal",
"id": "pe0"
},
{
"_id": "ek3",
"value": "support@apiture.com",
"type": "work",
"id": "wp1"
}
],
"preferredEmailAddressId": "ea1",
"phones": [
{
"_id": "pa1",
"type": "home",
"number": "+19105550155"
},
{
"_id": "da6",
"type": "mobile",
"number": "+19105550155"
},
{
"_id": "wp1",
"type": "work",
"number": "+19105550162",
"extension": "4512"
}
],
"preferredPhoneId": "pa1",
"birthdate": "1974-10-27",
"citizenship": [
{
"countryCode": "US",
"state": "citizen"
}
],
"residencyStatus": "resident",
"occupation": "officeAndAdministrativeSupport",
"addresses": [
{
"_id": "ha1",
"type": "home",
"addressLine1": "555 N Front Street",
"addressLine2": "Suite 5555",
"city": "Wilmington",
"regionCode": "NC",
"postalCode": "28401-5405",
"countryCode": "US"
},
{
"_id": "wa1",
"type": "work",
"addressLine1": "123 S 3rd Street",
"addressLine2": "Apt 42",
"city": "Wilmington",
"regionCode": "NC",
"postalCode": "28411-5405",
"countryCode": "US"
}
],
"preferredMailingAddressId": "ha1",
"yearsAtAddress": 3,
"mailingDifferentAddress": false,
"state": "active",
"preferredContactMethod": "email",
"_profile": "https://production.api.apiture.com/schemas/contacts/contact/v2.2.2/profile.json",
"_links": {
"self": {
"href": "https://api.devbank.apiture.com/contacts/contacts/0399abed-fd3d-4830-a88b-30f38b8a365c"
},
"apiture:deactivate": {
"href": "https://api.devbank.apiture.com/contacts/inactiveContacts?contact=0399abed-fd3d-4830-a88b-30f38b8a365c"
}
},
"_id": "0399abed-fd3d-4830-a88b-30f38b8a365c",
"createdAt": "2018-04-17T10:04:46.375Z",
"updatedAt": "2018-04-17T10:12:58.375Z"
}
Responses
Status | Description |
---|---|
200 | OK |
OK. | |
Schema: contact | |
Header | ETag string |
The ETag response header specifies an entity tag which must be provided in an If-Match request header for PUT or PATCH operations which update this contact resource. |
Status | Description |
---|---|
400 | Bad Request |
Bad Request. The contact or contactUri was malformed or does not refer to a contact. | |
Schema: errorResponse |
Status | Description |
---|---|
409 | Conflict |
Conflict. There is no such contact resource at the specified
This error response may have one of the following | |
Schema: errorResponse |
Status | Description |
---|---|
422 | Unprocessable Entity |
Unprocessable Entity. One or more of the query parameters was well formed but otherwise invalid. The _error field in the response will contain details about the request error. | |
Schema: errorResponse |
deactivateContact
Code samples
# You can also use wget
curl -X POST https://api.devbank.apiture.com/contacts/inactiveContacts?contact=string \
-H 'Accept: application/hal+json' \
-H 'If-Match: string' \
-H 'API-Key: API_KEY' \
-H 'Authorization: Bearer {access-token}'
POST https://api.devbank.apiture.com/contacts/inactiveContacts?contact=string HTTP/1.1
Host: api.devbank.apiture.com
Accept: application/hal+json
If-Match: string
const fetch = require('node-fetch');
const headers = {
'Accept':'application/hal+json',
'If-Match':'string',
'API-Key':'API_KEY',
'Authorization':'Bearer {access-token}'
};
fetch('https://api.devbank.apiture.com/contacts/inactiveContacts?contact=string',
{
method: 'POST',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
var headers = {
'Accept':'application/hal+json',
'If-Match':'string',
'API-Key':'API_KEY',
'Authorization':'Bearer {access-token}'
};
$.ajax({
url: 'https://api.devbank.apiture.com/contacts/inactiveContacts',
method: 'post',
data: '?contact=string',
headers: headers,
success: function(data) {
console.log(JSON.stringify(data));
}
})
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/hal+json',
'If-Match' => 'string',
'API-Key' => 'API_KEY',
'Authorization' => 'Bearer {access-token}'
}
result = RestClient.post 'https://api.devbank.apiture.com/contacts/inactiveContacts',
params: {
'contact' => 'string'
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/hal+json',
'If-Match': 'string',
'API-Key': 'API_KEY',
'Authorization': 'Bearer {access-token}'
}
r = requests.post('https://api.devbank.apiture.com/contacts/inactiveContacts', params={
'contact': 'string'
}, headers = headers)
print r.json()
URL obj = new URL("https://api.devbank.apiture.com/contacts/inactiveContacts?contact=string");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("POST");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/hal+json"},
"If-Match": []string{"string"},
"API-Key": []string{"API_KEY"},
"Authorization": []string{"Bearer {access-token}"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("POST", "https://api.devbank.apiture.com/contacts/inactiveContacts", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
Deactivate a contact.
POST https://api.devbank.apiture.com/contacts/inactiveContacts
Deactivate a contact from an active state.
This operation is invoked from the apiture:deactivate
link on a contact resource when that contact is eligible to be deactivated. This operation is only allowed if the state is active
.
This changes the state
to inactive
.
Parameters
Parameter | Description |
---|---|
contact in: query | string (required) A string which identifies an existing contact to activate, deactivate, or remove by POST ing it to the corresponding resource set. The server supplies this value in a link within the representation of a contact. The value may be a {contactId} or a contact URI. |
contactUri in: query | string The URI of an existing contact which is eligible to be activated. This parameter is deprecated. Use the ?contact= query parameter instead. |
If-Match in: header | string The entity tag that was returned in the ETag response. This must match the current entity tag of the resource. |
Example responses
200 Response
{
"firstName": "John",
"middleName": "Daniel",
"lastName": "Smith",
"preferredName": "John",
"suffix": "MD",
"identification": [
{
"type": "taxId",
"value": "*****3333"
}
],
"emailAddresses": [
{
"_id": "ea1",
"value": "api@apiture.com",
"type": "personal",
"id": "pe0"
},
{
"_id": "ek3",
"value": "support@apiture.com",
"type": "work",
"id": "wp1"
}
],
"preferredEmailAddressId": "ea1",
"phones": [
{
"_id": "pa1",
"type": "home",
"number": "+19105550155"
},
{
"_id": "da6",
"type": "mobile",
"number": "+19105550155"
},
{
"_id": "wp1",
"type": "work",
"number": "+19105550162",
"extension": "4512"
}
],
"preferredPhoneId": "pa1",
"birthdate": "1974-10-27",
"citizenship": [
{
"countryCode": "US",
"state": "citizen"
}
],
"residencyStatus": "resident",
"occupation": "officeAndAdministrativeSupport",
"addresses": [
{
"_id": "ha1",
"type": "home",
"addressLine1": "555 N Front Street",
"addressLine2": "Suite 5555",
"city": "Wilmington",
"regionCode": "NC",
"postalCode": "28401-5405",
"countryCode": "US"
},
{
"_id": "wa1",
"type": "work",
"addressLine1": "123 S 3rd Street",
"addressLine2": "Apt 42",
"city": "Wilmington",
"regionCode": "NC",
"postalCode": "28411-5405",
"countryCode": "US"
}
],
"preferredMailingAddressId": "ha1",
"yearsAtAddress": 3,
"mailingDifferentAddress": false,
"state": "active",
"preferredContactMethod": "email",
"_profile": "https://production.api.apiture.com/schemas/contacts/contact/v2.2.2/profile.json",
"_links": {
"self": {
"href": "https://api.devbank.apiture.com/contacts/contacts/0399abed-fd3d-4830-a88b-30f38b8a365c"
},
"apiture:deactivate": {
"href": "https://api.devbank.apiture.com/contacts/inactiveContacts?contact=0399abed-fd3d-4830-a88b-30f38b8a365c"
}
},
"_id": "0399abed-fd3d-4830-a88b-30f38b8a365c",
"createdAt": "2018-04-17T10:04:46.375Z",
"updatedAt": "2018-04-17T10:12:58.375Z"
}
Responses
Status | Description |
---|---|
200 | OK |
OK. | |
Schema: contact | |
Header | ETag string |
The ETag response header specifies an entity tag which must be provided in an If-Match request header for PUT or PATCH operations which update this contact resource. |
Status | Description |
---|---|
400 | Bad Request |
Bad Request. The contact or contactUri was malformed or does not refer to a contact. | |
Schema: errorResponse |
Status | Description |
---|---|
409 | Conflict |
Conflict. There is no such contact resource at the specified
This error response may have one of the following | |
Schema: errorResponse |
Status | Description |
---|---|
422 | Unprocessable Entity |
Unprocessable Entity. One or more of the query parameters was well formed but otherwise invalid. The _error field in the response will contain details about the request error. | |
Schema: errorResponse |
removeContact
Code samples
# You can also use wget
curl -X POST https://api.devbank.apiture.com/contacts/removedContacts?contact=string \
-H 'Accept: application/hal+json' \
-H 'If-Match: string' \
-H 'API-Key: API_KEY' \
-H 'Authorization: Bearer {access-token}'
POST https://api.devbank.apiture.com/contacts/removedContacts?contact=string HTTP/1.1
Host: api.devbank.apiture.com
Accept: application/hal+json
If-Match: string
const fetch = require('node-fetch');
const headers = {
'Accept':'application/hal+json',
'If-Match':'string',
'API-Key':'API_KEY',
'Authorization':'Bearer {access-token}'
};
fetch('https://api.devbank.apiture.com/contacts/removedContacts?contact=string',
{
method: 'POST',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
var headers = {
'Accept':'application/hal+json',
'If-Match':'string',
'API-Key':'API_KEY',
'Authorization':'Bearer {access-token}'
};
$.ajax({
url: 'https://api.devbank.apiture.com/contacts/removedContacts',
method: 'post',
data: '?contact=string',
headers: headers,
success: function(data) {
console.log(JSON.stringify(data));
}
})
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/hal+json',
'If-Match' => 'string',
'API-Key' => 'API_KEY',
'Authorization' => 'Bearer {access-token}'
}
result = RestClient.post 'https://api.devbank.apiture.com/contacts/removedContacts',
params: {
'contact' => 'string'
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/hal+json',
'If-Match': 'string',
'API-Key': 'API_KEY',
'Authorization': 'Bearer {access-token}'
}
r = requests.post('https://api.devbank.apiture.com/contacts/removedContacts', params={
'contact': 'string'
}, headers = headers)
print r.json()
URL obj = new URL("https://api.devbank.apiture.com/contacts/removedContacts?contact=string");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("POST");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/hal+json"},
"If-Match": []string{"string"},
"API-Key": []string{"API_KEY"},
"Authorization": []string{"Bearer {access-token}"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("POST", "https://api.devbank.apiture.com/contacts/removedContacts", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
Remove a contact.
POST https://api.devbank.apiture.com/contacts/removedContacts
Remove a contact by setting its state to removed
.
This operation is invoked from the apiture:remove
link on a contact resource when that contact is eligible to be removed. This operation is only allowed if the state is inactive
.
This changes the state
to removed
.
Parameters
Parameter | Description |
---|---|
contact in: query | string (required) A string which identifies an existing contact to activate, deactivate, or remove by POST ing it to the corresponding resource set. The server supplies this value in a link within the representation of a contact. The value may be a {contactId} or a contact URI. |
contactUri in: query | string The URI of an existing contact which is eligible to be activated. This parameter is deprecated. Use the ?contact= query parameter instead. |
If-Match in: header | string The entity tag that was returned in the ETag response. This must match the current entity tag of the resource. |
Example responses
200 Response
{
"firstName": "John",
"middleName": "Daniel",
"lastName": "Smith",
"preferredName": "John",
"suffix": "MD",
"identification": [
{
"type": "taxId",
"value": "*****3333"
}
],
"emailAddresses": [
{
"_id": "ea1",
"value": "api@apiture.com",
"type": "personal",
"id": "pe0"
},
{
"_id": "ek3",
"value": "support@apiture.com",
"type": "work",
"id": "wp1"
}
],
"preferredEmailAddressId": "ea1",
"phones": [
{
"_id": "pa1",
"type": "home",
"number": "+19105550155"
},
{
"_id": "da6",
"type": "mobile",
"number": "+19105550155"
},
{
"_id": "wp1",
"type": "work",
"number": "+19105550162",
"extension": "4512"
}
],
"preferredPhoneId": "pa1",
"birthdate": "1974-10-27",
"citizenship": [
{
"countryCode": "US",
"state": "citizen"
}
],
"residencyStatus": "resident",
"occupation": "officeAndAdministrativeSupport",
"addresses": [
{
"_id": "ha1",
"type": "home",
"addressLine1": "555 N Front Street",
"addressLine2": "Suite 5555",
"city": "Wilmington",
"regionCode": "NC",
"postalCode": "28401-5405",
"countryCode": "US"
},
{
"_id": "wa1",
"type": "work",
"addressLine1": "123 S 3rd Street",
"addressLine2": "Apt 42",
"city": "Wilmington",
"regionCode": "NC",
"postalCode": "28411-5405",
"countryCode": "US"
}
],
"preferredMailingAddressId": "ha1",
"yearsAtAddress": 3,
"mailingDifferentAddress": false,
"state": "active",
"preferredContactMethod": "email",
"_profile": "https://production.api.apiture.com/schemas/contacts/contact/v2.2.2/profile.json",
"_links": {
"self": {
"href": "https://api.devbank.apiture.com/contacts/contacts/0399abed-fd3d-4830-a88b-30f38b8a365c"
},
"apiture:deactivate": {
"href": "https://api.devbank.apiture.com/contacts/inactiveContacts?contact=0399abed-fd3d-4830-a88b-30f38b8a365c"
}
},
"_id": "0399abed-fd3d-4830-a88b-30f38b8a365c",
"createdAt": "2018-04-17T10:04:46.375Z",
"updatedAt": "2018-04-17T10:12:58.375Z"
}
Responses
Status | Description |
---|---|
200 | OK |
OK. | |
Schema: contact | |
Header | ETag string |
The ETag response header specifies an entity tag which must be provided in an If-Match request header for PUT or PATCH operations which update this contact resource. |
Status | Description |
---|---|
400 | Bad Request |
Bad Request. The contact or contactUri was malformed or does not refer to a contact. | |
Schema: errorResponse |
Status | Description |
---|---|
409 | Conflict |
Conflict. There is no such contact resource at the specified
This error response may have one of the following | |
Schema: errorResponse |
Status | Description |
---|---|
422 | Unprocessable Entity |
Unprocessable Entity. One or more of the query parameters was well formed but otherwise invalid. The _error field in the response will contain details about the request error. | |
Schema: errorResponse |
API
The Contacts API
getApi
Code samples
# You can also use wget
curl -X GET https://api.devbank.apiture.com/contacts/ \
-H 'Accept: application/hal+json' \
-H 'API-Key: API_KEY'
GET https://api.devbank.apiture.com/contacts/ HTTP/1.1
Host: api.devbank.apiture.com
Accept: application/hal+json
const fetch = require('node-fetch');
const headers = {
'Accept':'application/hal+json',
'API-Key':'API_KEY'
};
fetch('https://api.devbank.apiture.com/contacts/',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
var headers = {
'Accept':'application/hal+json',
'API-Key':'API_KEY'
};
$.ajax({
url: 'https://api.devbank.apiture.com/contacts/',
method: 'get',
headers: headers,
success: function(data) {
console.log(JSON.stringify(data));
}
})
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/hal+json',
'API-Key' => 'API_KEY'
}
result = RestClient.get 'https://api.devbank.apiture.com/contacts/',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/hal+json',
'API-Key': 'API_KEY'
}
r = requests.get('https://api.devbank.apiture.com/contacts/', params={
}, headers = headers)
print r.json()
URL obj = new URL("https://api.devbank.apiture.com/contacts/");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/hal+json"},
"API-Key": []string{"API_KEY"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "https://api.devbank.apiture.com/contacts/", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
Top-level resources and operations in this API
GET https://api.devbank.apiture.com/contacts/
Return links to the top-level resources and operations in this API. This API provides the following links in the _links
object:
apiture:contacts
-- links to thecontacts
collectionapiture:createContact
-- links to a POST operation to create a new contact
Example responses
200 Response
{
"_profile": "https://production.api.apiture.com/schemas/common/root/v2.1.1/profile.json",
"_links": {
"self": {
"href": "https://api.devbank.apiture.com/apiName/resourceName/resourceId"
}
},
"id": "apiName",
"name": "API name",
"apiVersion": "1.0.0"
}
Responses
getApiDoc
Code samples
# You can also use wget
curl -X GET https://api.devbank.apiture.com/contacts/apiDoc \
-H 'Accept: application/json' \
-H 'API-Key: API_KEY'
GET https://api.devbank.apiture.com/contacts/apiDoc HTTP/1.1
Host: api.devbank.apiture.com
Accept: application/json
const fetch = require('node-fetch');
const headers = {
'Accept':'application/json',
'API-Key':'API_KEY'
};
fetch('https://api.devbank.apiture.com/contacts/apiDoc',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
var headers = {
'Accept':'application/json',
'API-Key':'API_KEY'
};
$.ajax({
url: 'https://api.devbank.apiture.com/contacts/apiDoc',
method: 'get',
headers: headers,
success: function(data) {
console.log(JSON.stringify(data));
}
})
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json',
'API-Key' => 'API_KEY'
}
result = RestClient.get 'https://api.devbank.apiture.com/contacts/apiDoc',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json',
'API-Key': 'API_KEY'
}
r = requests.get('https://api.devbank.apiture.com/contacts/apiDoc', params={
}, headers = headers)
print r.json()
URL obj = new URL("https://api.devbank.apiture.com/contacts/apiDoc");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
"API-Key": []string{"API_KEY"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "https://api.devbank.apiture.com/contacts/apiDoc", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
Return API definition document
GET https://api.devbank.apiture.com/contacts/apiDoc
Return the OpenAPI document that describes this API.
Example responses
200 Response
{}
Responses
Status | Description |
---|---|
200 | OK |
OK. | |
Schema: Inline |
Response Schema
getLabels
Code samples
# You can also use wget
curl -X GET https://api.devbank.apiture.com/contacts/labels \
-H 'Accept: application/hal+json' \
-H 'Accept-Language: string' \
-H 'API-Key: API_KEY'
GET https://api.devbank.apiture.com/contacts/labels HTTP/1.1
Host: api.devbank.apiture.com
Accept: application/hal+json
Accept-Language: string
const fetch = require('node-fetch');
const headers = {
'Accept':'application/hal+json',
'Accept-Language':'string',
'API-Key':'API_KEY'
};
fetch('https://api.devbank.apiture.com/contacts/labels',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
var headers = {
'Accept':'application/hal+json',
'Accept-Language':'string',
'API-Key':'API_KEY'
};
$.ajax({
url: 'https://api.devbank.apiture.com/contacts/labels',
method: 'get',
headers: headers,
success: function(data) {
console.log(JSON.stringify(data));
}
})
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/hal+json',
'Accept-Language' => 'string',
'API-Key' => 'API_KEY'
}
result = RestClient.get 'https://api.devbank.apiture.com/contacts/labels',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/hal+json',
'Accept-Language': 'string',
'API-Key': 'API_KEY'
}
r = requests.get('https://api.devbank.apiture.com/contacts/labels', params={
}, headers = headers)
print r.json()
URL obj = new URL("https://api.devbank.apiture.com/contacts/labels");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/hal+json"},
"Accept-Language": []string{"string"},
"API-Key": []string{"API_KEY"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "https://api.devbank.apiture.com/contacts/labels", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
Localized Labels
GET https://api.devbank.apiture.com/contacts/labels
Return a JSON object which defines labels for enumeration types defined by the schemas defined in this API.
The labels in the response may not all match the
requested language; some may be in the default
language (en-us
).
Parameters
Parameter | Description |
---|---|
Accept-Language in: header | string The weighted language tags which indicate the user's preferred natural language for the localized labels in the response, as per RFC 7231. |
Example responses
200 Response
{
"_profile": "https://production.api.apiture.com/schemas/common/labelGroups/v1.1.3/profile.json",
"_links": {
"self": {
"href": "https://api.devbank.apiture.com/apiName/resourceName/resourceId"
}
},
"groups": {
"firstGroup": {
"unknown": {
"label": "Unknown",
"code": "0",
"hidden": true
},
"key1": {
"label": "Label for Key 1",
"code": "1",
"variants": {
"es": {
"label": "(Spanish label for Key 1)"
},
"fr": {
"label": "(French label for Key 1)"
}
}
},
"key2": {
"label": "Label for Key 2",
"code": "2",
"variants": {
"es": {
"label": "(Spanish label for Key 2)"
},
"fr": {
"label": "(French label for Key 2)"
}
}
},
"key3": {
"label": "Label for Key 3",
"code": "3",
"variants": {
"es": {
"label": "(Spanish label for Key 3)"
},
"fr": {
"label": "(French label for Key 3)"
}
}
},
"other": {
"label": "Other",
"variants": {
"es": {
"label": "(Spanish label for Other)"
},
"fr": {
"label": "(French label for Other)"
}
},
"code": "254"
}
},
"secondGroup": {
"unknown": {
"label": "Unknown",
"code": "?",
"hidden": true
},
"optionA": {
"label": "Option A",
"code": "A"
},
"optionB": {
"label": "Option B",
"code": "B"
},
"optionC": {
"label": "Option C",
"code": "C"
},
"other": {
"label": "Other",
"code": "_"
}
}
}
}
Responses
Status | Description |
---|---|
200 | OK |
OK. | |
Schema: labelGroups |
Configuration
Contacts Service Configuration
getConfigurationGroups
Code samples
# You can also use wget
curl -X GET https://api.devbank.apiture.com/contacts/configurations/groups \
-H 'Accept: application/hal+json' \
-H 'API-Key: API_KEY' \
-H 'Authorization: Bearer {access-token}'
GET https://api.devbank.apiture.com/contacts/configurations/groups HTTP/1.1
Host: api.devbank.apiture.com
Accept: application/hal+json
const fetch = require('node-fetch');
const headers = {
'Accept':'application/hal+json',
'API-Key':'API_KEY',
'Authorization':'Bearer {access-token}'
};
fetch('https://api.devbank.apiture.com/contacts/configurations/groups',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
var headers = {
'Accept':'application/hal+json',
'API-Key':'API_KEY',
'Authorization':'Bearer {access-token}'
};
$.ajax({
url: 'https://api.devbank.apiture.com/contacts/configurations/groups',
method: 'get',
headers: headers,
success: function(data) {
console.log(JSON.stringify(data));
}
})
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/hal+json',
'API-Key' => 'API_KEY',
'Authorization' => 'Bearer {access-token}'
}
result = RestClient.get 'https://api.devbank.apiture.com/contacts/configurations/groups',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/hal+json',
'API-Key': 'API_KEY',
'Authorization': 'Bearer {access-token}'
}
r = requests.get('https://api.devbank.apiture.com/contacts/configurations/groups', params={
}, headers = headers)
print r.json()
URL obj = new URL("https://api.devbank.apiture.com/contacts/configurations/groups");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/hal+json"},
"API-Key": []string{"API_KEY"},
"Authorization": []string{"Bearer {access-token}"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "https://api.devbank.apiture.com/contacts/configurations/groups", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
Return a collection of configuration groups
GET https://api.devbank.apiture.com/contacts/configurations/groups
Return a paginated sortable filterable searchable collection of configuration groups. The links in the response include pagination links.
Example responses
200 Response
{
"_profile": "https://production.api.apiture.com/schemas/configurations/configurationGroups/v2.1.1/profile.json",
"_links": {
"self": {
"href": "/configurations/configurations/groups?start=10&limit=10"
},
"first": {
"href": "/configurations/configurations/groups?start=0&limit=10"
},
"next": {
"href": "/configurations/configurations/groups?start=20&limit=10"
},
"collection": {
"href": "/configurations/configurations/groups"
}
},
"start": 10,
"limit": 10,
"count": 67,
"name": "configurationGroups",
"_embedded": {
"items": [
{
"_profile": "https://production.api.apiture.com/schemas/configurations/configurationGroup/v2.1.1/profile.json",
"_links": {
"self": {
"href": "/configurations/groups/basic"
}
},
"name": "basic",
"label": "Basic Settings",
"description": "The basic settings for the Transfers API"
},
{
"_profile": "https://production.api.apiture.com/schemas/configurations/configurationGroup/v2.1.1/profile.json",
"_links": {
"self": {
"href": "/configurations/groups/calendar"
}
},
"name": "calendar",
"label": "Calendar",
"description": "A calendar that specifies which dates are valid for performing transfers (e.g., weekdays excluding federal holidays)"
}
]
}
}
Responses
Status | Description |
---|---|
200 | OK |
OK. | |
Schema: configurationGroups |
Status | Description |
---|---|
400 | Bad Request |
Bad Request. The request body or one or more of the query parameters was not well formed. The _error field in the response will contain details about the request error. | |
Schema: errorResponse |
Status | Description |
---|---|
422 | Unprocessable Entity |
Unprocessable Entity. One or more of the query parameters was well formed but otherwise invalid. The _error field in the response will contain details about the request error. | |
Schema: errorResponse |
getConfigurationGroup
Code samples
# You can also use wget
curl -X GET https://api.devbank.apiture.com/contacts/configurations/groups/{groupName} \
-H 'Accept: application/hal+json' \
-H 'If-None-Match: string' \
-H 'API-Key: API_KEY' \
-H 'Authorization: Bearer {access-token}'
GET https://api.devbank.apiture.com/contacts/configurations/groups/{groupName} HTTP/1.1
Host: api.devbank.apiture.com
Accept: application/hal+json
If-None-Match: string
const fetch = require('node-fetch');
const headers = {
'Accept':'application/hal+json',
'If-None-Match':'string',
'API-Key':'API_KEY',
'Authorization':'Bearer {access-token}'
};
fetch('https://api.devbank.apiture.com/contacts/configurations/groups/{groupName}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
var headers = {
'Accept':'application/hal+json',
'If-None-Match':'string',
'API-Key':'API_KEY',
'Authorization':'Bearer {access-token}'
};
$.ajax({
url: 'https://api.devbank.apiture.com/contacts/configurations/groups/{groupName}',
method: 'get',
headers: headers,
success: function(data) {
console.log(JSON.stringify(data));
}
})
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/hal+json',
'If-None-Match' => 'string',
'API-Key' => 'API_KEY',
'Authorization' => 'Bearer {access-token}'
}
result = RestClient.get 'https://api.devbank.apiture.com/contacts/configurations/groups/{groupName}',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/hal+json',
'If-None-Match': 'string',
'API-Key': 'API_KEY',
'Authorization': 'Bearer {access-token}'
}
r = requests.get('https://api.devbank.apiture.com/contacts/configurations/groups/{groupName}', params={
}, headers = headers)
print r.json()
URL obj = new URL("https://api.devbank.apiture.com/contacts/configurations/groups/{groupName}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/hal+json"},
"If-None-Match": []string{"string"},
"API-Key": []string{"API_KEY"},
"Authorization": []string{"Bearer {access-token}"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "https://api.devbank.apiture.com/contacts/configurations/groups/{groupName}", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
Fetch a representation of this configuration group
GET https://api.devbank.apiture.com/contacts/configurations/groups/{groupName}
Return a HAL representation of this configuration group resource.
Parameters
Parameter | Description |
---|---|
groupName in: path | string (required) The unique name of this configuration group. |
If-None-Match in: header | string The entity tag that was returned in the ETag response. If the resource's current entity tag matches, the GET will return 304 (Not Modified) and no response body, else the resource representation will be returned. |
Example responses
200 Response
{
"_profile": "https://production.api.apiture.com/schemas/configurations/configurationGroup/v2.1.1/profile.json",
"_links": {
"self": {
"href": "/configurations/groups/basic"
}
},
"name": "basic",
"label": "Basic Settings",
"description": "The basic settings for the Transfers API",
"schema": {
"type": "object",
"properties": {
"dailyLimit": {
"type": "number",
"description": "The daily limit for the number of transfers"
},
"cutoffTime": {
"type": "string",
"format": "time",
"description": "The cutoff time for scheduling transfers for the current day"
}
}
},
"values": {
"dailyLimit": 5,
"cutoffTime": 63000
}
}
Responses
Status | Description |
---|---|
200 | OK |
OK. | |
Schema: configurationGroup | |
Header | ETag string |
The ETag response header specifies an entity tag which may be provided in an If-None-Match request header for GET operations for this configuration group resource. |
Status | Description |
---|---|
304 | Not Modified |
Not Modified. The resource has not been modified since it was last fetched. |
Status | Description |
---|---|
404 | Not Found |
Not Found. There is no such configuration group resource at the specified {groupName} The _error field in the response will contain details about the request error. | |
Schema: errorResponse |
getConfigurationGroupSchema
Code samples
# You can also use wget
curl -X GET https://api.devbank.apiture.com/contacts/configurations/groups/{groupName}/schema \
-H 'Accept: application/hal+json' \
-H 'If-None-Match: string' \
-H 'API-Key: API_KEY' \
-H 'Authorization: Bearer {access-token}'
GET https://api.devbank.apiture.com/contacts/configurations/groups/{groupName}/schema HTTP/1.1
Host: api.devbank.apiture.com
Accept: application/hal+json
If-None-Match: string
const fetch = require('node-fetch');
const headers = {
'Accept':'application/hal+json',
'If-None-Match':'string',
'API-Key':'API_KEY',
'Authorization':'Bearer {access-token}'
};
fetch('https://api.devbank.apiture.com/contacts/configurations/groups/{groupName}/schema',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
var headers = {
'Accept':'application/hal+json',
'If-None-Match':'string',
'API-Key':'API_KEY',
'Authorization':'Bearer {access-token}'
};
$.ajax({
url: 'https://api.devbank.apiture.com/contacts/configurations/groups/{groupName}/schema',
method: 'get',
headers: headers,
success: function(data) {
console.log(JSON.stringify(data));
}
})
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/hal+json',
'If-None-Match' => 'string',
'API-Key' => 'API_KEY',
'Authorization' => 'Bearer {access-token}'
}
result = RestClient.get 'https://api.devbank.apiture.com/contacts/configurations/groups/{groupName}/schema',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/hal+json',
'If-None-Match': 'string',
'API-Key': 'API_KEY',
'Authorization': 'Bearer {access-token}'
}
r = requests.get('https://api.devbank.apiture.com/contacts/configurations/groups/{groupName}/schema', params={
}, headers = headers)
print r.json()
URL obj = new URL("https://api.devbank.apiture.com/contacts/configurations/groups/{groupName}/schema");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/hal+json"},
"If-None-Match": []string{"string"},
"API-Key": []string{"API_KEY"},
"Authorization": []string{"Bearer {access-token}"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "https://api.devbank.apiture.com/contacts/configurations/groups/{groupName}/schema", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
Fetch the schema for this configuration group
GET https://api.devbank.apiture.com/contacts/configurations/groups/{groupName}/schema
Return a HAL representation of this configuration group schema resource.
Parameters
Parameter | Description |
---|---|
groupName in: path | string (required) The unique name of this configuration group. |
If-None-Match in: header | string The entity tag that was returned in the ETag response. If the resource's current entity tag matches, the GET will return 304 (Not Modified) and no response body, else the resource representation will be returned. |
Example responses
200 Response
{
"type": "object",
"properties": {
"dailyLimit": {
"type": "number",
"description": "The daily limit for the number of transfers"
},
"cutoffTime": {
"type": "string",
"format": "time",
"description": "The cutoff time for scheduling transfers for the current day"
}
}
}
Responses
Status | Description |
---|---|
200 | OK |
OK. | |
Schema: configurationSchema | |
Header | ETag string |
The ETag response header specifies an entity tag which may be provided in an If-Match request header for PUT |
Status | Description |
---|---|
304 | Not Modified |
Not Modified. The resource has not been modified since it was last fetched. |
Status | Description |
---|---|
404 | Not Found |
Not Found. There is no such configuration group resource at the specified {groupName} The _error field in the response will contain details about the request error. | |
Schema: errorResponse |
getConfigurationGroupValues
Code samples
# You can also use wget
curl -X GET https://api.devbank.apiture.com/contacts/configurations/groups/{groupName}/values \
-H 'Accept: application/hal+json' \
-H 'If-None-Match: string' \
-H 'API-Key: API_KEY' \
-H 'Authorization: Bearer {access-token}'
GET https://api.devbank.apiture.com/contacts/configurations/groups/{groupName}/values HTTP/1.1
Host: api.devbank.apiture.com
Accept: application/hal+json
If-None-Match: string
const fetch = require('node-fetch');
const headers = {
'Accept':'application/hal+json',
'If-None-Match':'string',
'API-Key':'API_KEY',
'Authorization':'Bearer {access-token}'
};
fetch('https://api.devbank.apiture.com/contacts/configurations/groups/{groupName}/values',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
var headers = {
'Accept':'application/hal+json',
'If-None-Match':'string',
'API-Key':'API_KEY',
'Authorization':'Bearer {access-token}'
};
$.ajax({
url: 'https://api.devbank.apiture.com/contacts/configurations/groups/{groupName}/values',
method: 'get',
headers: headers,
success: function(data) {
console.log(JSON.stringify(data));
}
})
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/hal+json',
'If-None-Match' => 'string',
'API-Key' => 'API_KEY',
'Authorization' => 'Bearer {access-token}'
}
result = RestClient.get 'https://api.devbank.apiture.com/contacts/configurations/groups/{groupName}/values',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/hal+json',
'If-None-Match': 'string',
'API-Key': 'API_KEY',
'Authorization': 'Bearer {access-token}'
}
r = requests.get('https://api.devbank.apiture.com/contacts/configurations/groups/{groupName}/values', params={
}, headers = headers)
print r.json()
URL obj = new URL("https://api.devbank.apiture.com/contacts/configurations/groups/{groupName}/values");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/hal+json"},
"If-None-Match": []string{"string"},
"API-Key": []string{"API_KEY"},
"Authorization": []string{"Bearer {access-token}"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "https://api.devbank.apiture.com/contacts/configurations/groups/{groupName}/values", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
Fetch the values for the specified configuration group
GET https://api.devbank.apiture.com/contacts/configurations/groups/{groupName}/values
Return a representation of this configuration group values resource.
Parameters
Parameter | Description |
---|---|
groupName in: path | string (required) The unique name of this configuration group. |
If-None-Match in: header | string The entity tag that was returned in the ETag response. If the resource's current entity tag matches, the GET will return 304 (Not Modified) and no response body, else the resource representation will be returned. |
Example responses
200 Response
{
"dailyLimit": 5,
"cutoffTime": 63000
}
Responses
Status | Description |
---|---|
200 | OK |
OK. | |
Schema: configurationValues | |
Header | ETag string |
The ETag response header specifies an entity tag which may be provided in an If-Match request header for PUT |
Status | Description |
---|---|
304 | Not Modified |
Not Modified. The resource has not been modified since it was last fetched. |
Status | Description |
---|---|
404 | Not Found |
Not Found. There is no such configuration group resource at the specified {groupName} The _error field in the response will contain details about the request error. | |
Schema: errorResponse |
updateConfigurationGroupValues
Code samples
# You can also use wget
curl -X PUT https://api.devbank.apiture.com/contacts/configurations/groups/{groupName}/values \
-H 'Content-Type: application/hal+json' \
-H 'Accept: application/hal+json' \
-H 'If-Match: string' \
-H 'API-Key: API_KEY' \
-H 'Authorization: Bearer {access-token}'
PUT https://api.devbank.apiture.com/contacts/configurations/groups/{groupName}/values HTTP/1.1
Host: api.devbank.apiture.com
Content-Type: application/hal+json
Accept: application/hal+json
If-Match: string
const fetch = require('node-fetch');
const inputBody = '{
"dailyLimit": 5,
"cutoffTime": 63000
}';
const headers = {
'Content-Type':'application/hal+json',
'Accept':'application/hal+json',
'If-Match':'string',
'API-Key':'API_KEY',
'Authorization':'Bearer {access-token}'
};
fetch('https://api.devbank.apiture.com/contacts/configurations/groups/{groupName}/values',
{
method: 'PUT',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
var headers = {
'Content-Type':'application/hal+json',
'Accept':'application/hal+json',
'If-Match':'string',
'API-Key':'API_KEY',
'Authorization':'Bearer {access-token}'
};
$.ajax({
url: 'https://api.devbank.apiture.com/contacts/configurations/groups/{groupName}/values',
method: 'put',
headers: headers,
success: function(data) {
console.log(JSON.stringify(data));
}
})
require 'rest-client'
require 'json'
headers = {
'Content-Type' => 'application/hal+json',
'Accept' => 'application/hal+json',
'If-Match' => 'string',
'API-Key' => 'API_KEY',
'Authorization' => 'Bearer {access-token}'
}
result = RestClient.put 'https://api.devbank.apiture.com/contacts/configurations/groups/{groupName}/values',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Content-Type': 'application/hal+json',
'Accept': 'application/hal+json',
'If-Match': 'string',
'API-Key': 'API_KEY',
'Authorization': 'Bearer {access-token}'
}
r = requests.put('https://api.devbank.apiture.com/contacts/configurations/groups/{groupName}/values', params={
}, headers = headers)
print r.json()
URL obj = new URL("https://api.devbank.apiture.com/contacts/configurations/groups/{groupName}/values");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("PUT");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Content-Type": []string{"application/hal+json"},
"Accept": []string{"application/hal+json"},
"If-Match": []string{"string"},
"API-Key": []string{"API_KEY"},
"Authorization": []string{"Bearer {access-token}"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("PUT", "https://api.devbank.apiture.com/contacts/configurations/groups/{groupName}/values", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
Update the values for the specified configuration group
PUT https://api.devbank.apiture.com/contacts/configurations/groups/{groupName}/values
Perform a complete replacement of this set of values.
Body parameter
{
"dailyLimit": 5,
"cutoffTime": 63000
}
Parameters
Parameter | Description |
---|---|
groupName in: path | string (required) The unique name of this configuration group. |
If-Match in: header | string The entity tag that was returned in the ETag response. This must match the current entity tag of the resource. |
body | configurationValues (required) |
Example responses
200 Response
{
"type": "object",
"properties": {
"dailyLimit": {
"type": "number",
"description": "The daily limit for the number of transfers"
},
"cutoffTime": {
"type": "string",
"format": "time",
"description": "The cutoff time for scheduling transfers for the current day"
}
}
}
Responses
Status | Description |
---|---|
200 | OK |
OK. | |
Schema: configurationSchema | |
Header | ETag string |
The ETag response header specifies an entity tag which may be provided in an If-Match request header for PUT |
Status | Description |
---|---|
400 | Bad Request |
Bad Request. The request body is invalid. It is either not valid JSON or it does not conform to the corresponding configuration group schema. The _error field in the response will contain details about the request error. | |
Schema: errorResponse |
Status | Description |
---|---|
403 | Forbidden |
Access denied. Only administrators may update configuration. | |
Schema: errorResponse |
Status | Description |
---|---|
404 | Not Found |
Not Found. There is no such configuration group resource at the specified {groupName} The _error field in the response will contain details about the request error. | |
Schema: errorResponse |
Status | Description |
---|---|
412 | Precondition Failed |
Precondition Failed. The supplied if-Match header value does not match the most recent ETag response header value. The resource has changed in the interim. | |
Schema: errorResponse |
getConfigurationGroupValue
Code samples
# You can also use wget
curl -X GET https://api.devbank.apiture.com/contacts/configurations/groups/{groupName}/values/{valueName} \
-H 'Accept: application/hal+json' \
-H 'API-Key: API_KEY' \
-H 'Authorization: Bearer {access-token}'
GET https://api.devbank.apiture.com/contacts/configurations/groups/{groupName}/values/{valueName} HTTP/1.1
Host: api.devbank.apiture.com
Accept: application/hal+json
const fetch = require('node-fetch');
const headers = {
'Accept':'application/hal+json',
'API-Key':'API_KEY',
'Authorization':'Bearer {access-token}'
};
fetch('https://api.devbank.apiture.com/contacts/configurations/groups/{groupName}/values/{valueName}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
var headers = {
'Accept':'application/hal+json',
'API-Key':'API_KEY',
'Authorization':'Bearer {access-token}'
};
$.ajax({
url: 'https://api.devbank.apiture.com/contacts/configurations/groups/{groupName}/values/{valueName}',
method: 'get',
headers: headers,
success: function(data) {
console.log(JSON.stringify(data));
}
})
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/hal+json',
'API-Key' => 'API_KEY',
'Authorization' => 'Bearer {access-token}'
}
result = RestClient.get 'https://api.devbank.apiture.com/contacts/configurations/groups/{groupName}/values/{valueName}',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/hal+json',
'API-Key': 'API_KEY',
'Authorization': 'Bearer {access-token}'
}
r = requests.get('https://api.devbank.apiture.com/contacts/configurations/groups/{groupName}/values/{valueName}', params={
}, headers = headers)
print r.json()
URL obj = new URL("https://api.devbank.apiture.com/contacts/configurations/groups/{groupName}/values/{valueName}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/hal+json"},
"API-Key": []string{"API_KEY"},
"Authorization": []string{"Bearer {access-token}"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "https://api.devbank.apiture.com/contacts/configurations/groups/{groupName}/values/{valueName}", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
Fetch a single value associated with the specified configuration group
GET https://api.devbank.apiture.com/contacts/configurations/groups/{groupName}/values/{valueName}
Fetch a single value associated with this configuration group. This provides convenient access to individual values of the configuration group. The response is always a JSON value which can be parsed with a strict JSON parser. The response may be
- a primitive number, boolean, or quoted JSON string.
- a JSON array.
- a JSON object.
null
. Examples:"a string configuration value"
120
true
null
{ "borderWidth": 8, "foregroundColor": "blue" }
To update a specific value, usePUT /users/configurations/groups/{groupName}/values/{valueName}
(operationupdateConfigurationGroupValue
).
Parameters
Parameter | Description |
---|---|
groupName in: path | string (required) The unique name of this configuration group. |
valueName in: path | string (required) The unique name of a value in a configuration group. This is the name of the value in the schema . A {valueName} must be a simple identifier following the pattern letter [letter | digit | '-' | '_']* . |
Example responses
200 Response
"string"
Responses
Status | Description |
---|---|
200 | OK |
OK. The value of the named configuration value as a JSON string, number, boolean, array, or object. | |
Schema: string | |
Header | ETag string |
The ETag response header specifies an entity tag which may be provided in an If-Match request header for PUT or PATCH operations which update this configuration group resource. |
Status | Description |
---|---|
404 | Not Found |
Not Found. There is either no such configuration group resource at the specified This error response may have one of the following | |
Schema: errorResponse |
updateConfigurationGroupValue
Code samples
# You can also use wget
curl -X PUT https://api.devbank.apiture.com/contacts/configurations/groups/{groupName}/values/{valueName} \
-H 'Content-Type: application/hal+json' \
-H 'Accept: application/hal+json' \
-H 'If-Match: string' \
-H 'API-Key: API_KEY' \
-H 'Authorization: Bearer {access-token}'
PUT https://api.devbank.apiture.com/contacts/configurations/groups/{groupName}/values/{valueName} HTTP/1.1
Host: api.devbank.apiture.com
Content-Type: application/hal+json
Accept: application/hal+json
If-Match: string
const fetch = require('node-fetch');
const inputBody = 'string';
const headers = {
'Content-Type':'application/hal+json',
'Accept':'application/hal+json',
'If-Match':'string',
'API-Key':'API_KEY',
'Authorization':'Bearer {access-token}'
};
fetch('https://api.devbank.apiture.com/contacts/configurations/groups/{groupName}/values/{valueName}',
{
method: 'PUT',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
var headers = {
'Content-Type':'application/hal+json',
'Accept':'application/hal+json',
'If-Match':'string',
'API-Key':'API_KEY',
'Authorization':'Bearer {access-token}'
};
$.ajax({
url: 'https://api.devbank.apiture.com/contacts/configurations/groups/{groupName}/values/{valueName}',
method: 'put',
headers: headers,
success: function(data) {
console.log(JSON.stringify(data));
}
})
require 'rest-client'
require 'json'
headers = {
'Content-Type' => 'application/hal+json',
'Accept' => 'application/hal+json',
'If-Match' => 'string',
'API-Key' => 'API_KEY',
'Authorization' => 'Bearer {access-token}'
}
result = RestClient.put 'https://api.devbank.apiture.com/contacts/configurations/groups/{groupName}/values/{valueName}',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Content-Type': 'application/hal+json',
'Accept': 'application/hal+json',
'If-Match': 'string',
'API-Key': 'API_KEY',
'Authorization': 'Bearer {access-token}'
}
r = requests.put('https://api.devbank.apiture.com/contacts/configurations/groups/{groupName}/values/{valueName}', params={
}, headers = headers)
print r.json()
URL obj = new URL("https://api.devbank.apiture.com/contacts/configurations/groups/{groupName}/values/{valueName}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("PUT");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Content-Type": []string{"application/hal+json"},
"Accept": []string{"application/hal+json"},
"If-Match": []string{"string"},
"API-Key": []string{"API_KEY"},
"Authorization": []string{"Bearer {access-token}"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("PUT", "https://api.devbank.apiture.com/contacts/configurations/groups/{groupName}/values/{valueName}", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
Update a single value associated with the specified configuration group
PUT https://api.devbank.apiture.com/contacts/configurations/groups/{groupName}/values/{valueName}
Update a single value associated with this configuration group. This provides convenient access to individual values of the configuration group as defined in the configuration group's schema
. The request body must conform to the configuration group's schema for the named {valueName}
. This operation is idempotent. The request body must be a JSON value which can be parsed with a strict JSON parser. The response may be
- a primitive number, boolean, or quoted JSON string.
- a JSON array.
- a JSON object.
null
. Examples:"a string configuration value"
120
true
null
{ "borderWidth": 8, "foregroundColor": "blue" }
To fetch specific value, useGET /users/configurations/groups/{groupName}/values/{valueName}
(operationgetConfigurationGroupValue
).
Body parameter
"string"
Parameters
Parameter | Description |
---|---|
groupName in: path | string (required) The unique name of this configuration group. |
valueName in: path | string (required) The unique name of a value in a configuration group. This is the name of the value in the schema . A {valueName} must be a simple identifier following the pattern letter [letter | digit | '-' | '_']* . |
If-Match in: header | string The entity tag that was returned in the ETag response. This must match the current entity tag of the resource. |
body | string (required) The request body must a valid JSON value and should be parsable with a JSON parser. The result may be a string, number, boolean, array, or object. |
Example responses
200 Response
"string"
Responses
Status | Description |
---|---|
200 | OK |
OK. | |
Schema: string | |
Header | ETag string |
The ETag response header specifies an entity tag which may be provided in an If-Match request header for PUT or PATCH operations which update this configuration group resource. |
Status | Description |
---|---|
400 | Bad Request |
Bad Request. The request body is invalid. It is either not valid JSON or it does not conform to the corresponding configuration group schema. The _error field in the response will contain details about the request error. | |
Schema: errorResponse |
Status | Description |
---|---|
403 | Forbidden |
Access denied. Only administrators may update configuration. | |
Schema: errorResponse |
Status | Description |
---|---|
404 | Not Found |
Not Found. There is either no such configuration group resource at the specified This error response may have one of the following | |
Schema: errorResponse |
Status | Description |
---|---|
412 | Precondition Failed |
Precondition Failed. The supplied if-Match header value does not match the most recent ETag response header value. The resource has changed in the interim. | |
Schema: errorResponse |
Schemas
abstractRequest
{
"_profile": "https://production.api.apiture.com/schemas/common/abstractRequest/v2.0.0/profile.json",
"_links": {}
}
Abstract Request (v2.0.0)
An abstract schema used to define other request-only schemas. This is a HAL resource representation, minus the _error
defined in abstractResource
.
This schema was resolved from common/abstractRequest
.
Properties
Name | Description |
---|---|
Abstract Request (v2.0.0) | An abstract schema used to define other request-only schemas. This is a HAL resource representation, minus the _error defined in abstractResource . This schema was resolved from |
_links | An optional map of links, mapping each link relation to a link object. This model defines the _links object of HAL representations. This schema was resolved from |
_embedded | An optional map of nested resources, mapping each nested resource name to a nested resource representation. |
_profile | The URI of a resource profile which describes the representation. read-only format: uri |
abstractResource
{
"_profile": "https://production.api.apiture.com/schemas/common/abstractResource/v2.1.0/profile.json",
"_links": {
"self": {
"href": "https://api.devbank.apiture.com/apiName/resourceName/resourceId"
}
}
}
Abstract Resource (v2.1.0)
An abstract schema used to define other schemas for request and response bodies. This is a HAL resource representation. This model contains hypermedia _links
, and either optional domain object data with _profile
and optional _embedded
objects, or an _error
object. In responses, if the operation was successful, this object will not include the _error
, but if the operation was a 4xx or 5xx error, this object will not include _embedded
or any data fields, only _error
and optionally _links
.
This schema was resolved from common/abstractResource
.
Properties
Name | Description |
---|---|
Abstract Resource (v2.1.0) | An abstract schema used to define other schemas for request and response bodies. This is a HAL resource representation. This model contains hypermedia _links , and either optional domain object data with _profile and optional _embedded objects, or an _error object. In responses, if the operation was successful, this object will not include the _error , but if the operation was a 4xx or 5xx error, this object will not include _embedded or any data fields, only _error and optionally _links . This schema was resolved from |
_links | An optional map of links, mapping each link relation to a link object. This model defines the _links object of HAL representations. This schema was resolved from |
_embedded | An optional map of nested resources, mapping each nested resource name to a nested resource representation. |
_profile | The URI of a resource profile which describes the representation. read-only format: uri |
_error | An object which describes an error. This value is omitted if the operation succeeded without error. read-only |
address
{
"addressLine1": "555 N Front Street",
"addressLine2": "Suite 5555",
"city": "Wilmington",
"regionCode": "NC",
"postalCode": "28401-5405",
"countryCode": "US",
"_id": "ha5",
"type": "home"
}
Address (v1.1.2)
A postal address with the address type and an identifier.
Properties
Name | Description |
---|---|
Address (v1.1.2) | A postal address with the address type and an identifier. |
addressLine1 | The first street address line of the address, normally a house number and street name. format: address-text minLength: 4 maxLength: 128 |
addressLine2 | The optional second street address line of the address. format: address-text maxLength: 128 |
city | The name of the city or municipality. format: address-text minLength: 2 maxLength: 128 |
regionCode | The mailing address region code, such as state in the US, or a province in Canada. This is normalized to uppercase. minLength: 2 maxLength: 2 pattern: "^[a-zA-Z]{2}$" |
postalCode | The mailing address postal code, such as a US Zip or Zip+4 code, or a Canadian postal code. minLength: 5 maxLength: 10 pattern: "^[0-9]{5}(?:-[0-9]{4})?$" |
countryCode | The ISO 3166-1 alpha-2 country code. This is normalized to uppercase. minLength: 2 maxLength: 2 pattern: "^[a-zA-Z]{2}$" |
type | (required) The type of this address. enum values: unknown , home , prior , work , school , mailing , vacation , shipping , billing , headquarters , commercial , site , property , other , notApplicable |
label | A text label, suitable for presentation to the end user. This is derived from type or from otherType if type is other read-only format: text minLength: 4 maxLength: 32 |
otherType | The actual address type if type is other .format: text minLength: 4 maxLength: 32 |
_id | An identifier for this address, so that it can be referenced uniquely. The service will assign a unique _id if the client does not provide one. The _id must be unique across all addresses within the addresses array.minLength: 1 maxLength: 8 pattern: "^[-a-zA-Z0-9_]{1,8}$" |
addressType
"unknown"
Address Type (v1.0.0)
The type of a postal address.
Warning: The enum
list will be removed in a future release.
The allowed values for this property are defined at runtime in the label group named addressType
in the response from the getLabels
operation.
type:
string
enum values: unknown
, home
, prior
, work
, school
, mailing
, vacation
, shipping
, billing
, headquarters
, commercial
, site
, property
, other
, notApplicable
attributes
{}
Attributes (v2.1.0)
An optional map of name/value pairs which contains additional dynamic data about the resource.
This schema was resolved from common/attributes
.
Properties
Name | Description |
---|---|
Attributes (v2.1.0) | An optional map of name/value pairs which contains additional dynamic data about the resource. This schema was resolved from |
authorization
{
"firstName": "John",
"middleName": "Daniel",
"lastName": "Smith",
"addresses": [
{
"_id": "ha5",
"type": "home",
"addressLine1": "555 N Front Street",
"addressLine2": "Suite 5555",
"city": "Wilmington",
"regionCode": "NC",
"postalCode": "28401-5405",
"countryCode": "US"
},
{
"_id": "wa1",
"type": "other",
"addressLine1": "123 S 3rd Street",
"addressLine2": "Apt 42",
"city": "Wilmington",
"regionCode": "NC",
"postalCode": "28411-5405",
"countryCode": "US",
"id": "wa0",
"label": "mailing"
}
],
"preferredMailingAddressId": "ha5",
"userId": "bd9e7a93-32cc-435d-ac57-f21faa082318",
"customerId": "10047294723672",
"type": "joint",
"role": "Chief Financial Officer",
"taxId": "*****3333",
"citizen": true,
"emailAddress": "JohnDanielSmith@example.com"
}
Authorization (v1.2.2)
Represents a person authorized for account access. This object contains key identification information for the person and the type of access or role that the person has in relation to the banking account or organization.
Properties
Name | Description |
---|---|
Authorization (v1.2.2) | Represents a person authorized for account access. This object contains key identification information for the person and the type of access or role that the person has in relation to the banking account or organization. |
firstName | (required) The person's first name (or given name). format: person-name minLength: 0 maxLength: 80 |
middleName | The person's middle name. format: person-name minLength: 1 maxLength: 80 |
lastName | (required) The person's last name (or surname). format: person-name minLength: 1 maxLength: 80 |
addresses | array: (required) An array of postal/mailing addresses. items: object |
preferredMailingAddressId | The preferred mailing address. This string is the _id of an address in the addresses array.minLength: 1 maxLength: 8 pattern: "^[-a-zA-Z0-9_]{1,8}$" |
taxId | (required) Official government identification (tax ID) for this person. This will return a masked tax ID, where only the last 4 digits are visible; the first character is the mask character (usually '*' ) and is repeated several times. If the ?unmasked=true query parameter is passed, the full, unmasked tax ID is returned.format: text |
citizen | (required) Indicates if the person is a (US) citizen. |
emailAddress | Optional email address. format: email minLength: 4 maxLength: 120 |
userId | (required) The unique ID of the user. This is the _id value of the user resource from the Users API. |
customerId | (required) The unique customer number, also known as the Customer Identification File number or CIF number. This derived value is assigned to the user in the banking core. The customerId differs from the _id (which is the ID of the resource in the Users API).read-only minLength: 1 maxLength: 100 |
type | (required) The type of this account access authorization.
enum values: primary , joint , authorizedSigner |
role | The person's role at the organization. This attribute is required when the authorization type is authorizedSigner. format: text maxLength: 120 |
authorizationType
"primary"
Account Authorization type (v1.0.0)
The type of this account access authorization.
primary
the person is the primary owner of a personal account. There may be only one primary owner.joint
the person is a non-primary joint owner of a personal account.authorizedSigner
the person is an authorized signer for all business accounts owned by the organization.
authorizationType
strings may have one of the following enumerated values:
Value | Description |
---|---|
primary | Primary Account Holder: The primary account holder of a personal account. There may be only one primary owner. |
joint | Joint Account Holder: A non-primary joint account holder of a personal account. |
authorizedSigner | Authorized Signer: Authorized Signer of a business account. |
These enumeration values are further described by the label group named authorizationType
in the response from the getLabels
operation.
type:
string
enum values: primary
, joint
, authorizedSigner
citizenship
{
"countryCode": "US",
"state": "citizen"
}
Citizenship (v1.1.0)
Citizenship or nationality status.
Properties
Name | Description |
---|---|
Citizenship (v1.1.0) | Citizenship or nationality status. |
countryCode | (required) The ISO 3166-1 country code for the individual's citizenship. This is normalized to uppercase. minLength: 2 maxLength: 2 pattern: "^[a-zA-Z]{2}$" |
state | (required) The individual's citizenship status. enum values: citizen , other |
collection
{
"_profile": "https://production.api.apiture.com/schemas/common/abstractResource/v2.1.0/profile.json",
"_links": {
"self": {
"href": "https://api.devbank.apiture.com/apiName/resourceName/resourceId"
}
}
}
Collection (v2.1.1)
A collection of resources. This is an abstract model schema which is extended to define specific resource collections.
This schema was resolved from common/collection
.
Properties
Name | Description |
---|---|
Collection (v2.1.1) | A collection of resources. This is an abstract model schema which is extended to define specific resource collections. This schema was resolved from |
_links | An optional map of links, mapping each link relation to a link object. This model defines the _links object of HAL representations. This schema was resolved from |
_embedded | An optional map of nested resources, mapping each nested resource name to a nested resource representation. |
_profile | The URI of a resource profile which describes the representation. read-only format: uri |
_error | An object which describes an error. This value is omitted if the operation succeeded without error. read-only |
count | The number of items in the collection. This value is optional and may be omitted if the count is not computable efficiently. If a filter is applied to the collection (either implicitly or explicitly), the count, if present, indicates the number of items that satisfy the filter. |
start | The start index of this page of items. |
limit | The maximum number of items per page. |
name | The name of the collection. |
configurationGroup
{
"_profile": "https://production.api.apiture.com/schemas/configurations/configurationGroup/v2.1.1/profile.json",
"_links": {
"self": {
"href": "/configurations/groups/basic"
}
},
"name": "basic",
"label": "Basic Settings",
"description": "The basic settings for the Transfers API",
"schema": {
"type": "object",
"properties": {
"dailyLimit": {
"type": "number",
"description": "The daily limit for the number of transfers"
},
"cutoffTime": {
"type": "string",
"format": "time",
"description": "The cutoff time for scheduling transfers for the current day"
}
}
},
"values": {
"dailyLimit": 5,
"cutoffTime": 63000
}
}
Configuration Group (v2.1.1)
Represents a configuration group.
This schema was resolved from configurations/configurationGroup
.
Properties
Name | Description |
---|---|
Configuration Group (v2.1.1) | Represents a configuration group. This schema was resolved from |
_links | An optional map of links, mapping each link relation to a link object. This model defines the _links object of HAL representations. This schema was resolved from |
_embedded | An optional map of nested resources, mapping each nested resource name to a nested resource representation. |
_profile | The URI of a resource profile which describes the representation. read-only format: uri |
_error | An object which describes an error. This value is omitted if the operation succeeded without error. read-only |
name | The name of this configuration group, must be unique within the set of all resources of this type. minLength: 1 maxLength: 48 pattern: "[a-zA-Z][-\\w_]*" |
label | The text label for this resource, suitable for presentation to the client. minLength: 1 maxLength: 128 |
description | The full description for this resource, suitable for presentation to the client. minLength: 1 maxLength: 4096 |
schema | The schema which defines the name and types of the variables that are part of this configuration definition. Property names must be simple identifiers which follow the pattern letter [letter | digit | - | _]* . This is implicitly a schema for The This schema was resolved from |
values | The data values associated with this configuration group: the group's variable names and values. These values must conform to this item's schema . Note: the For example, multiple configurations may use the same schema that defines values This schema was resolved from |
configurationGroupSummary
{
"_profile": "https://production.api.apiture.com/schemas/configurations/configurationGroupSummary/v2.1.1/profile.json",
"_links": {
"self": {
"href": "/configurations/groups/basic"
}
},
"name": "basic",
"label": "Basic Settings",
"description": "The basic settings for the Transfers API"
}
Configuration Group Summary (v2.1.1)
A summary of the data contained within a configuration group resource.
This schema was resolved from configurations/configurationGroupSummary
.
Properties
Name | Description |
---|---|
Configuration Group Summary (v2.1.1) | A summary of the data contained within a configuration group resource. This schema was resolved from |
_links | An optional map of links, mapping each link relation to a link object. This model defines the _links object of HAL representations. This schema was resolved from |
_embedded | An optional map of nested resources, mapping each nested resource name to a nested resource representation. |
_profile | The URI of a resource profile which describes the representation. read-only format: uri |
_error | An object which describes an error. This value is omitted if the operation succeeded without error. read-only |
name | The name of this configuration group, must be unique within the set of all resources of this type. minLength: 1 maxLength: 48 pattern: "[a-zA-Z][-\\w_]*" |
label | The text label for this resource, suitable for presentation to the client. minLength: 1 maxLength: 128 |
description | The full description for this resource, suitable for presentation to the client. minLength: 1 maxLength: 4096 |
configurationGroups
{
"_profile": "https://production.api.apiture.com/schemas/configurations/configurationGroups/v2.1.1/profile.json",
"_links": {
"self": {
"href": "/configurations/configurations/groups?start=10&limit=10"
},
"first": {
"href": "/configurations/configurations/groups?start=0&limit=10"
},
"next": {
"href": "/configurations/configurations/groups?start=20&limit=10"
},
"collection": {
"href": "/configurations/configurations/groups"
}
},
"start": 10,
"limit": 10,
"count": 67,
"name": "configurationGroups",
"_embedded": {
"items": [
{
"_profile": "https://production.api.apiture.com/schemas/configurations/configurationGroup/v2.1.1/profile.json",
"_links": {
"self": {
"href": "/configurations/groups/basic"
}
},
"name": "basic",
"label": "Basic Settings",
"description": "The basic settings for the Transfers API"
},
{
"_profile": "https://production.api.apiture.com/schemas/configurations/configurationGroup/v2.1.1/profile.json",
"_links": {
"self": {
"href": "/configurations/groups/calendar"
}
},
"name": "calendar",
"label": "Calendar",
"description": "A calendar that specifies which dates are valid for performing transfers (e.g., weekdays excluding federal holidays)"
}
]
}
}
Configuration Group Collection (v2.1.1)
Collection of configuration groups. The items in the collection are ordered in the _embedded
object with name items
. The top-level _links
object may contain pagination links (self
, next
, prev
, first
, last
, collection
).
This schema was resolved from configurations/configurationGroups
.
Properties
Name | Description |
---|---|
Configuration Group Collection (v2.1.1) | Collection of configuration groups. The items in the collection are ordered in the _embedded object with name items . The top-level _links object may contain pagination links (self , next , prev , first , last , collection ). This schema was resolved from |
_links | An optional map of links, mapping each link relation to a link object. This model defines the _links object of HAL representations. This schema was resolved from |
_embedded | Embedded objects. |
_profile | The URI of a resource profile which describes the representation. read-only format: uri |
_error | An object which describes an error. This value is omitted if the operation succeeded without error. read-only |
count | The number of items in the collection. This value is optional and may be omitted if the count is not computable efficiently. If a filter is applied to the collection (either implicitly or explicitly), the count, if present, indicates the number of items that satisfy the filter. |
start | The start index of this page of items. |
limit | The maximum number of items per page. |
name | The name of the collection. |
configurationGroupsEmbedded
{
"items": [
{
"_profile": "https://production.api.apiture.com/schemas/configurations/configurationGroupSummary/v2.1.1/profile.json",
"_links": {
"self": {
"href": "/configurations/groups/basic"
}
},
"name": "basic",
"label": "Basic Settings",
"description": "The basic settings for the Transfers API"
}
]
}
Configuration Groups Embedded Objects (v1.1.1)
Objects embedded in the configurationGroups
collection.
This schema was resolved from configurations/configurationGroupsEmbedded
.
Properties
Name | Description |
---|---|
Configuration Groups Embedded Objects (v1.1.1) | Objects embedded in the configurationGroups collection. This schema was resolved from |
items | array: An array containing a page of configuration group items. items: object |
configurationSchema
{
"type": "object",
"properties": {
"dailyLimit": {
"type": "number",
"description": "The daily limit for the number of transfers"
},
"cutoffTime": {
"type": "string",
"format": "time",
"description": "The cutoff time for scheduling transfers for the current day"
}
}
}
Configuration Schema (v2.1.0)
The schema which defines the name and types of the variables that are part of this configuration definition. Property names must be simple identifiers which follow the pattern letter [letter | digit | - | _]*
.
This is implicitly a schema for type: object
and contains the properties.
The values
in a configuration conform to the schema. The names and types are described with a subset of JSON Schema Core and JSON Schema Validation similar to that used to define schemas in OpenAPI Specification 2.0.
This schema was resolved from configurations/configurationSchema
.
Properties
Name | Description |
---|---|
Configuration Schema (v2.1.0) | The schema which defines the name and types of the variables that are part of this configuration definition. Property names must be simple identifiers which follow the pattern letter [letter | digit | - | _]* . This is implicitly a schema for The This schema was resolved from |
Configuration Schema Value (v2.0.0) | The data associated with this configuration schema. This schema was resolved from |
configurationSchemaValue
{}
Configuration Schema Value (v2.0.0)
The data associated with this configuration schema.
This schema was resolved from configurations/configurationSchemaValue
.
Properties
Name | Description |
---|---|
Configuration Schema Value (v2.0.0) | The data associated with this configuration schema. This schema was resolved from |
configurationValue
{}
Configuration Value (v2.0.0)
The data associated with this configuration.
This schema was resolved from configurations/configurationValue
.
Properties
Name | Description |
---|---|
Configuration Value (v2.0.0) | The data associated with this configuration. This schema was resolved from |
configurationValues
{
"dailyLimit": 5,
"cutoffTime": 63000
}
Configuration Values (v2.0.0)
The data values associated with this configuration group: the group's variable names and values. These values must conform to this item's schema
.
Note: the schema
may also contain default
values which, if present, are used if a value is not set in the definition's values
.
For example, multiple configurations may use the same schema that defines values a
, b
, and c
, but each configuration may have their own unique values for a
, b
, and c
which is separate from the schema.
This schema was resolved from configurations/configurationValues
.
Properties
Name | Description |
---|---|
Configuration Values (v2.0.0) | The data values associated with this configuration group: the group's variable names and values. These values must conform to this item's schema . Note: the For example, multiple configurations may use the same schema that defines values This schema was resolved from |
Configuration Value (v2.0.0) | The data associated with this configuration. This schema was resolved from |
contact
{
"firstName": "John",
"middleName": "Daniel",
"lastName": "Smith",
"preferredName": "John",
"suffix": "MD",
"identification": [
{
"type": "taxId",
"value": "*****3333"
}
],
"emailAddresses": [
{
"_id": "ea1",
"value": "api@apiture.com",
"type": "personal",
"id": "pe0"
},
{
"_id": "ek3",
"value": "support@apiture.com",
"type": "work",
"id": "wp1"
}
],
"preferredEmailAddressId": "ea1",
"phones": [
{
"_id": "pa1",
"type": "home",
"number": "+19105550155"
},
{
"_id": "da6",
"type": "mobile",
"number": "+19105550155"
},
{
"_id": "wp1",
"type": "work",
"number": "+19105550162",
"extension": "4512"
}
],
"preferredPhoneId": "pa1",
"birthdate": "1974-10-27",
"citizenship": [
{
"countryCode": "US",
"state": "citizen"
}
],
"residencyStatus": "resident",
"occupation": "officeAndAdministrativeSupport",
"addresses": [
{
"_id": "ha1",
"type": "home",
"addressLine1": "555 N Front Street",
"addressLine2": "Suite 5555",
"city": "Wilmington",
"regionCode": "NC",
"postalCode": "28401-5405",
"countryCode": "US"
},
{
"_id": "wa1",
"type": "work",
"addressLine1": "123 S 3rd Street",
"addressLine2": "Apt 42",
"city": "Wilmington",
"regionCode": "NC",
"postalCode": "28411-5405",
"countryCode": "US"
}
],
"preferredMailingAddressId": "ha1",
"yearsAtAddress": 3,
"mailingDifferentAddress": false,
"state": "active",
"preferredContactMethod": "email",
"_profile": "https://production.api.apiture.com/schemas/contacts/contact/v2.2.2/profile.json",
"_links": {
"self": {
"href": "https://api.devbank.apiture.com/contacts/contacts/0399abed-fd3d-4830-a88b-30f38b8a365c"
},
"apiture:deactivate": {
"href": "https://api.devbank.apiture.com/contacts/inactiveContacts?contact=0399abed-fd3d-4830-a88b-30f38b8a365c"
}
},
"_id": "0399abed-fd3d-4830-a88b-30f38b8a365c",
"createdAt": "2018-04-17T10:04:46.375Z",
"updatedAt": "2018-04-17T10:12:58.375Z"
}
Contact (v2.2.2)
Representation of a contact resource. Contact data (mailing addresses, phone numbers, email addresses) for an individual.
deprecated
Properties
Name | Description |
---|---|
| Representation of a contact resource. Contact data (mailing addresses, phone numbers, email addresses) for an individual. deprecated: true |
| An object that contains the answers to Know Your Customer (KYC) questions. Warning: The property kycAnswers was deprecated on version v1.0.0 of the schema. Use kycAnswers on the user schema in Users API instead. kycAnswers will be removed on version v2.0.0 of the schema.deprecated: true |
| Use the state of identityVerification . The identity verification status for this person. This field is read-only and is derived from the results of any identity verification processes executed against the personally identifiable information (PII) contained in this record.Warning: The property identityVerificationStatus was deprecated on version v1.0.0 of the schema. Use identity verification of the user in the Identity service instead. identityVerificationStatus will be removed on version v2.0.0 of the schema.read-only deprecated: true enum values: verified , unverified |
| The identity verification data for this person. These fields are derived from the results of any identity verification processes executed against the personally identifiable information (PII) contained in this record. Warning: The property identityVerification was deprecated on version v1.0.0 of the schema. Use identity verification of the user in the Identity service instead. identityVerification will be removed on version v2.0.0 of the schema.deprecated: true |
firstName | The person's first name (or given name). format: person-name minLength: 0 maxLength: 80 |
middleName | The person's middle name. format: person-name minLength: 1 maxLength: 80 |
lastName | The person's last name (or surname). format: person-name minLength: 1 maxLength: 80 |
addresses | array: An array of postal/mailing addresses. items: object |
preferredMailingAddressId | The preferred mailing address. This string is the _id of an address in the addresses array.minLength: 1 maxLength: 8 pattern: "^[-a-zA-Z0-9_]{1,8}$" |
emailAddresses | array: An array of email addresses. items: object |
preferredEmailAddressId | The preferred email address. This string is the _id of an email address in the emailAddresses array.minLength: 1 maxLength: 8 pattern: "^[-a-zA-Z0-9_]{1,8}$" |
phones | array: An array of phone numbers. items: object |
preferredPhoneId | The ID of preferred phone number. This string is the _id of a phone number in the phones array.minLength: 1 maxLength: 8 pattern: "^[-a-zA-Z0-9_]{1,8}$" |
prefix | A title or honorific prefix such as Dr. or Fr. format: person-name maxLength: 20 |
suffix | A title or honorific suffix such as PhD or DDS. format: person-name maxLength: 20 |
preferredName | The contact's preferred name. This is how the contact's name is presented to the user in the interface. The default is the contact's firstName .format: person-name minLength: 0 maxLength: 80 |
identification | array: A collection of official identifying information associated with the contact. items: object |
preferredContactMethod | The contact's preferred method of communication. enum values: unknown , sms , email , other , notApplicable |
birthdate | The contact's birth date in YYYY-MM-DD format.format: date |
citizenship | array: This individual's citizenship or nationality status. items: object |
residencyStatus | This individual's residency status. enum values: unknown , resident , nonresident , residentAlien , nonresidentAlien , other , notApplicable |
occupation | The occupation of this individual. Warning: The occupation enumeration list will be removed in a future release.enum values: unknown , architectureAndEngineering , artsDesignEntertainmentSportsAndMedia , buildingAndGroundsCleaningAndMaintenance , businessAndFinancialOperations , communityAndSocialService , computerAndMathematical , constructionAndExtraction , educationTrainingAndLibrary , farmingFishingAndForestry , foodPreparationAndServingRelated , healthcarePractitionersAndTechnical , healthcareSupport , installationMaintenanceAndRepair , legal , lifePhysicalAndSciences , management , militarySpecific , officeAndAdministrativeSupport , personalCareAndService , production , protectiveServices , salesAndRelated , transportationAndMaterialMoving , other , notApplicable |
otherOccupation | The actual occupation of this individual if their occupation is other . This is ignored if occupation is not other .format: text minLength: 4 maxLength: 100 |
| The number of years the person has been at their present home address. Warning: The property yearsAtAddress was deprecated on version v1.1.0 of the schema. Use user.yearsAtAddress (via Users API) instead. yearsAtAddress will be removed on version v2.0.0 of the schema.deprecated: true enum values: unknown , oneOrFewer , two , three , fourOrMore |
_links | An optional map of links, mapping each link relation to a link object. This model defines the _links object of HAL representations. This schema was resolved from |
_embedded | An optional map of nested resources, mapping each nested resource name to a nested resource representation. |
_profile | The URI of a resource profile which describes the representation. read-only format: uri |
_error | An object which describes an error. This value is omitted if the operation succeeded without error. read-only |
state | The state of this person's record. read-only enum values: inactive , active , merged , removed |
_id | The unique identifier for this contact resource. This is an immutable opaque string. read-only |
attributes | An optional map of name/value pairs which provide additional metadata about the contact. |
createdAt | The date-time when the contact was created. format: date-time |
updatedAt | The date-time when the contact was updated format: date-time |
contactState
"inactive"
Contact State (v1.0.0)
The state of this person. The values are described in the contactState
text via the getLabels
operation.
contactState
strings may have one of the following enumerated values:
Value | Description |
---|---|
inactive | Inactive: A new contact, not yet activated. |
active | Active: An activated contact record. |
merged | Merged: A contact record resulting from merging other contacts. |
removed | Removed: A removed, no longer available contact. |
These enumeration values are further described by the label group named contactState
in the response from the getLabels
operation.
type:
string
enum values: inactive
, active
, merged
, removed
contactVerificationFields
{
"firstName": "John",
"middleName": "Daniel",
"lastName": "Smith",
"preferredName": "John",
"suffix": "MD",
"identification": [
{
"type": "taxId",
"value": "*****3333"
}
],
"emailAddresses": [
{
"_id": "ea1",
"value": "api@apiture.com",
"type": "personal"
},
{
"_id": "ek3",
"value": "support@apiture.com",
"type": "work"
}
],
"preferredEmailAddressId": "ea1",
"phones": [
{
"_id": "pa1",
"type": "home",
"number": "+19105550155"
},
{
"_id": "da6",
"type": "mobile",
"number": "+19105550159"
}
],
"preferredPhoneId": "pa1",
"birthdate": "1974-10-27",
"citizenship": [
{
"countryCode": "US",
"state": "citizen"
}
],
"residencyStatus": "resident",
"occupation": "officeAndAdministrativeSupport",
"addresses": [
{
"_id": "ha1",
"type": "home",
"addressLine1": "555 N Front Street",
"addressLine2": "Suite 5555",
"city": "Wilmington",
"regionCode": "NC",
"postalCode": "28401-5405",
"countryCode": "US"
},
{
"_id": "wa1",
"type": "work",
"addressLine1": "123 S 3rd Street",
"addressLine2": "Apt 42",
"city": "Wilmington",
"regionCode": "NC",
"postalCode": "28411-5405",
"countryCode": "US"
}
],
"preferredMailingAddressId": "ha1",
"yearsAtAddress": 3,
"mailingDifferentAddress": false,
"state": "active"
}
Contact Fields (v1.1.3)
Common fields of the contact resource used to build other model schemas for people who hold bank accounts.
Warning: The schema contactVerificationFields
was deprecated on version v0.19.0
of the API. Use corresponding properties on the user
schema in Users API instead. contactVerificationFields
will be removed on version v0.28.0
of the API.
deprecated
Properties
Name | Description |
---|---|
| Common fields of the contact resource used to build other model schemas for people who hold bank accounts. Warning: The schema contactVerificationFields was deprecated on version v0.19.0 of the API. Use corresponding properties on the user schema in Users API instead. contactVerificationFields will be removed on version v0.28.0 of the API.deprecated: true |
| An object that contains the answers to Know Your Customer (KYC) questions. Warning: The property kycAnswers was deprecated on version v1.0.0 of the schema. Use kycAnswers on the user schema in Users API instead. kycAnswers will be removed on version v2.0.0 of the schema.deprecated: true |
| Use the state of identityVerification . The identity verification status for this person. This field is read-only and is derived from the results of any identity verification processes executed against the personally identifiable information (PII) contained in this record.Warning: The property identityVerificationStatus was deprecated on version v1.0.0 of the schema. Use identity verification of the user in the Identity service instead. identityVerificationStatus will be removed on version v2.0.0 of the schema.read-only deprecated: true enum values: verified , unverified |
| The identity verification data for this person. These fields are derived from the results of any identity verification processes executed against the personally identifiable information (PII) contained in this record. Warning: The property identityVerification was deprecated on version v1.0.0 of the schema. Use identity verification of the user in the Identity service instead. identityVerification will be removed on version v2.0.0 of the schema.deprecated: true |
contacts
{
"_profile": "https://production.api.apiture.com/schemas/contacts/contacts/v2.2.2/profile.json",
"_links": {
"self": {
"href": "https://api.devbank.apiture.com/contacts/contacts?start=10&limit=10"
},
"first": {
"href": "https://api.devbank.apiture.com/contacts/contacts?start=0&limit=10"
},
"next": {
"href": "https://api.devbank.apiture.com/contacts/contacts?start=20&limit=10"
},
"collection": {
"href": "https://api.devbank.apiture.com/contacts/contacts"
}
},
"start": 10,
"limit": 10,
"count": 67,
"name": "contacts",
"_embedded": {
"items": [
{
"_id": "0399abed-fd3d-4830-a88b-30f38b8a365c",
"_profile": "https://production.api.apiture.com/schemas/contacts/summaryContact/v2.2.2/profile.json",
"_links": {
"self": {
"href": "https://api.devbank.apiture.com/contacts/contacts/0399abed-fd3d-4830-a88b-30f38b8a365c"
}
},
"firstName": "John",
"middleName": "Daniel",
"lastName": "Smith",
"preferredName": "John",
"suffix": "MD",
"identification": [
{
"type": "taxId",
"value": "*****3333"
}
],
"emailAddresses": [
{
"_id": "pe1",
"value": "api@apiture.com",
"type": "personal"
},
{
"_id": "we1",
"value": "support@apiture.com",
"type": "work"
}
],
"phones": [
{
"_id": "hp1",
"type": "home",
"number": "+19105550155"
},
{
"_id": "mp1",
"type": "mobile",
"number": "+19105550155"
}
],
"birthdate": "1974-10-27",
"citizenship": [
{
"countryCode": "US",
"state": "citizen"
}
],
"residencyStatus": "resident",
"occupation": "officeAndAdministrativeSupport",
"addresses": [
{
"type": "home",
"addressLine1": "555 N Front Street",
"addressLine2": "Suite 5555",
"city": "Wilmington",
"regionCode": "NC",
"postalCode": "28401-5405",
"countryCode": "US"
},
{
"type": "work",
"addressLine1": "123 S 3rd Street",
"addressLine2": "Apt 42",
"city": "Wilmington",
"regionCode": "NC",
"postalCode": "28411-5405",
"countryCode": "US"
}
],
"yearsAtAddress": 3,
"mailingDifferentAddress": false,
"state": "active"
}
]
}
}
Contact Collection (v2.2.2)
Collection of contacts. The items in the collection are ordered in the _embedded.items
array; the name
is contacts
. The top-level _links
object may contain pagination links such as self
, next
, prev
, first
, last
, collection
.
Properties
Name | Description |
---|---|
Contact Collection (v2.2.2) | Collection of contacts. The items in the collection are ordered in the _embedded.items array; the name is contacts . The top-level _links object may contain pagination links such as self , next , prev , first , last , collection . |
_links | An optional map of links, mapping each link relation to a link object. This model defines the _links object of HAL representations. This schema was resolved from |
_embedded | Embedded objects. |
» items | array: An array containing a page of contact items. items: object » deprecated: true |
_profile | The URI of a resource profile which describes the representation. read-only format: uri |
_error | An object which describes an error. This value is omitted if the operation succeeded without error. read-only |
count | The number of items in the collection. This value is optional and may be omitted if the count is not computable efficiently. If a filter is applied to the collection (either implicitly or explicitly), the count, if present, indicates the number of items that satisfy the filter. |
start | The start index of this page of items. |
limit | The maximum number of items per page. |
name | The name of the collection. |
createAuthorization
{
"_profile": "https://production.api.apiture.com/schemas/common/abstractResource/v2.1.0/profile.json",
"_links": {
"self": {
"href": "https://api.devbank.apiture.com/apiName/resourceName/resourceId"
},
"apiture:user": {
"href": "https://api.devbank.apiture.com/users/users/bd9e7a93-32cc-435d-ac57-f21faa082318"
}
},
"firstName": "John",
"middleName": "Daniel",
"lastName": "Smith",
"addresses": [
{
"_id": "ha5",
"type": "home",
"addressLine1": "555 N Front Street",
"addressLine2": "Suite 5555",
"city": "Wilmington",
"regionCode": "NC",
"postalCode": "28401-5405",
"countryCode": "US"
},
{
"_id": "wa1",
"type": "other",
"addressLine1": "123 S 3rd Street",
"addressLine2": "Apt 42",
"city": "Wilmington",
"regionCode": "NC",
"postalCode": "28411-5405",
"countryCode": "US",
"id": "wa0",
"label": "mailing"
}
],
"preferredMailingAddressId": "ha5",
"userId": "bd9e7a93-32cc-435d-ac57-f21faa082318",
"customerId": "10047294723672",
"type": "joint",
"role": "Chief Financial Officer",
"taxId": "*****3333",
"citizen": true,
"emailAddress": "JohnDanielSmith@example.com"
}
Create Authorization (v1.2.2)
The object representation of a newly created authorization. The fields listed will assist in the information needed to gain access to a bank account or organization. A link to the user must be passed in _links as apiture:user
for implementations of this object as it explains the direct association.
Properties
Name | Description |
---|---|
Create Authorization (v1.2.2) | The object representation of a newly created authorization. The fields listed will assist in the information needed to gain access to a bank account or organization. A link to the user must be passed in _links as apiture:user for implementations of this object as it explains the direct association. |
_links | An optional map of links, mapping each link relation to a link object. This model defines the _links object of HAL representations. This schema was resolved from |
_embedded | An optional map of nested resources, mapping each nested resource name to a nested resource representation. |
_profile | The URI of a resource profile which describes the representation. read-only format: uri |
_error | An object which describes an error. This value is omitted if the operation succeeded without error. read-only |
firstName | (required) The person's first name (or given name). format: person-name minLength: 0 maxLength: 80 |
middleName | The person's middle name. format: person-name minLength: 1 maxLength: 80 |
lastName | (required) The person's last name (or surname). format: person-name minLength: 1 maxLength: 80 |
addresses | array: (required) An array of postal/mailing addresses. items: object |
preferredMailingAddressId | The preferred mailing address. This string is the _id of an address in the addresses array.minLength: 1 maxLength: 8 pattern: "^[-a-zA-Z0-9_]{1,8}$" |
taxId | (required) Official government identification (tax ID) for this person. This will return a masked tax ID, where only the last 4 digits are visible; the first character is the mask character (usually '*' ) and is repeated several times. If the ?unmasked=true query parameter is passed, the full, unmasked tax ID is returned.format: text |
citizen | (required) Indicates if the person is a (US) citizen. |
emailAddress | Optional email address. format: email minLength: 4 maxLength: 120 |
userId | (required) The unique ID of the user. This is the _id value of the user resource from the Users API. |
customerId | (required) The unique customer number, also known as the Customer Identification File number or CIF number. This derived value is assigned to the user in the banking core. The customerId differs from the _id (which is the ID of the resource in the Users API).read-only minLength: 1 maxLength: 100 |
type | (required) The type of this account access authorization.
enum values: primary , joint , authorizedSigner |
role | The person's role at the organization. This attribute is required when the authorization type is authorizedSigner. format: text maxLength: 120 |
createContact
{
"_profile": "https://production.api.apiture.com/schemas/contacts/createContact/v2.2.2/profile.json",
"_links": {
"self": {
"href": "https://api.devbank.apiture.com/apiName/resourceName/resourceId"
}
},
"firstName": "John",
"middleName": "Daniel",
"lastName": "Smith",
"preferredName": "John",
"suffix": "MD",
"identification": [
{
"type": "taxId",
"value": "112-22-3333"
}
],
"emailAddresses": [
{
"_id": "ea1",
"value": "api@apiture.com",
"type": "personal",
"id": "pe0"
},
{
"_id": "ek3",
"value": "support@apiture.com",
"type": "work",
"id": "wp1"
}
],
"preferredEmailAddressId": "ea1",
"phones": [
{
"_id": "pa1",
"type": "home",
"number": "+19105550155"
},
{
"_id": "da6",
"type": "mobile",
"number": "+19105550155"
},
{
"_id": "wp1",
"type": "work",
"number": "+19105550162",
"extension": "4512"
}
],
"preferredPhoneId": "pa1",
"birthdate": "1974-10-27",
"citizenship": [
{
"countryCode": "US",
"state": "citizen"
}
],
"residencyStatus": "resident",
"occupation": "officeAndAdministrativeSupport",
"addresses": [
{
"_id": "ha1",
"type": "home",
"addressLine1": "555 N Front Street",
"addressLine2": "Suite 5555",
"city": "Wilmington",
"regionCode": "NC",
"postalCode": "28401-5405",
"countryCode": "US"
},
{
"_id": "wa1",
"type": "work",
"addressLine1": "123 S 3rd Street",
"addressLine2": "Apt 42",
"city": "Wilmington",
"regionCode": "NC",
"postalCode": "28411-5405",
"countryCode": "US"
}
],
"preferredMailingAddressId": "ha1",
"yearsAtAddress": 3,
"mailingDifferentAddress": false,
"state": "active",
"preferredContactMethod": "email"
}
Create Contact (v2.2.2)
Representation used to create a new contact.
deprecated
Properties
Name | Description |
---|---|
| Representation used to create a new contact. deprecated: true |
_links | An optional map of links, mapping each link relation to a link object. This model defines the _links object of HAL representations. This schema was resolved from |
_embedded | An optional map of nested resources, mapping each nested resource name to a nested resource representation. |
_profile | The URI of a resource profile which describes the representation. read-only format: uri |
_error | An object which describes an error. This value is omitted if the operation succeeded without error. read-only |
| An object that contains the answers to Know Your Customer (KYC) questions. Warning: The property kycAnswers was deprecated on version v1.0.0 of the schema. Use kycAnswers on the user schema in Users API instead. kycAnswers will be removed on version v2.0.0 of the schema.deprecated: true |
| Use the state of identityVerification . The identity verification status for this person. This field is read-only and is derived from the results of any identity verification processes executed against the personally identifiable information (PII) contained in this record.Warning: The property identityVerificationStatus was deprecated on version v1.0.0 of the schema. Use identity verification of the user in the Identity service instead. identityVerificationStatus will be removed on version v2.0.0 of the schema.read-only deprecated: true enum values: verified , unverified |
| The identity verification data for this person. These fields are derived from the results of any identity verification processes executed against the personally identifiable information (PII) contained in this record. Warning: The property identityVerification was deprecated on version v1.0.0 of the schema. Use identity verification of the user in the Identity service instead. identityVerification will be removed on version v2.0.0 of the schema.deprecated: true |
firstName | The person's first name (or given name). format: person-name minLength: 0 maxLength: 80 |
middleName | The person's middle name. format: person-name minLength: 1 maxLength: 80 |
lastName | (required) The person's last name (or surname). format: person-name minLength: 1 maxLength: 80 |
addresses | array: An array of postal/mailing addresses. items: object |
preferredMailingAddressId | The preferred mailing address. This string is the _id of an address in the addresses array.minLength: 1 maxLength: 8 pattern: "^[-a-zA-Z0-9_]{1,8}$" |
emailAddresses | array: An array of email addresses. items: object |
preferredEmailAddressId | The preferred email address. This string is the _id of an email address in the emailAddresses array.minLength: 1 maxLength: 8 pattern: "^[-a-zA-Z0-9_]{1,8}$" |
phones | array: An array of phone numbers. items: object |
preferredPhoneId | The ID of preferred phone number. This string is the _id of a phone number in the phones array.minLength: 1 maxLength: 8 pattern: "^[-a-zA-Z0-9_]{1,8}$" |
prefix | A title or honorific prefix such as Dr. or Fr. format: person-name maxLength: 20 |
suffix | A title or honorific suffix such as PhD or DDS. format: person-name maxLength: 20 |
preferredName | The contact's preferred name. This is how the contact's name is presented to the user in the interface. The default is the contact's firstName .format: person-name minLength: 0 maxLength: 80 |
identification | array: A collection of official identifying information associated with the contact. items: object |
preferredContactMethod | The contact's preferred method of communication. enum values: unknown , sms , email , other , notApplicable |
birthdate | The contact's birth date in YYYY-MM-DD format.format: date |
citizenship | array: This individual's citizenship or nationality status. items: object |
residencyStatus | This individual's residency status. enum values: unknown , resident , nonresident , residentAlien , nonresidentAlien , other , notApplicable |
occupation | The occupation of this individual. Warning: The occupation enumeration list will be removed in a future release.enum values: unknown , architectureAndEngineering , artsDesignEntertainmentSportsAndMedia , buildingAndGroundsCleaningAndMaintenance , businessAndFinancialOperations , communityAndSocialService , computerAndMathematical , constructionAndExtraction , educationTrainingAndLibrary , farmingFishingAndForestry , foodPreparationAndServingRelated , healthcarePractitionersAndTechnical , healthcareSupport , installationMaintenanceAndRepair , legal , lifePhysicalAndSciences , management , militarySpecific , officeAndAdministrativeSupport , personalCareAndService , production , protectiveServices , salesAndRelated , transportationAndMaterialMoving , other , notApplicable |
otherOccupation | The actual occupation of this individual if their occupation is other . This is ignored if occupation is not other .format: text minLength: 4 maxLength: 100 |
| The number of years the person has been at their present home address. Warning: The property yearsAtAddress was deprecated on version v1.1.0 of the schema. Use user.yearsAtAddress (via Users API) instead. yearsAtAddress will be removed on version v2.0.0 of the schema.deprecated: true enum values: unknown , oneOrFewer , two , three , fourOrMore |
attributes | An optional map of name/value pairs which provide additional metadata about the contact. |
emailType
"unknown"
Email Type (v1.0.0)
The kind of email address.
Warning: The enum
list will be removed in a future release.
The allowed values for this property are defined at runtime in the label group named emailType
in the response from the getLabels
operation.
type:
string
enum values: unknown
, personal
, work
, school
, other
, notApplicable
error
{
"_id": "2eae46e1575c0a7b0115a4b3",
"message": "Descriptive error message...",
"statusCode": 422,
"type": "errorType1",
"remediation": "Remediation string...",
"occurredAt": "2018-01-25T05:50:52.375Z",
"errors": [
{
"_id": "ccdbe2c5c938a230667b3827",
"message": "An optional embedded error"
},
{
"_id": "dbe9088dcfe2460f229338a3",
"message": "Another optional embedded error"
}
],
"_links": {
"describedby": {
"href": "https://developer.apiture.com/errors/errorType1"
}
}
}
Error (v2.1.0)
Describes an error in an API request or in a service called via the API.
This schema was resolved from common/error
.
Properties
Name | Description |
---|---|
Error (v2.1.0) | Describes an error in an API request or in a service called via the API. This schema was resolved from |
message | (required) A localized message string describing the error condition. |
_id | A unique identifier for this error instance. This may be used as a correlation ID with the root cause error (i.e. this ID may be logged at the source of the error). This is is an opaque string. read-only |
statusCode | The HTTP status code associate with this error. minimum: 100 maximum: 599 |
type | An error identifier which indicates the category of error and associate it with API support documentation or which the UI tier can use to render an appropriate message or hint. This provides a finer level of granularity than the statusCode . For example, instead of just 400 Bad Request, the type may be much more specific. such as integerValueNotInAllowedRange or numericValueExceedsMaximum or stringValueNotInAllowedSet . |
occurredAt | An RFC 3339 UTC time stamp indicating when the error occurred. format: date-time |
attributes | Informative values or constraints which describe the error. For example, for a value out of range error, the attributes may specify the minimum and maximum values. This allows clients to present error messages as they see fit (the API does not assume the client/presentation tier). The set of attributes varies by error type .Additional Properties: true |
remediation | An optional localized string which provides hints for how the user or client can resolve the error. |
errors | array: An optional array of nested error objects. This property is not always present. items: object |
errorResponse
{
"_profile": "https://production.api.apiture.com/schemas/common/errorResponse/v2.1.1/profile.json",
"_links": {
"self": {
"href": "https://api.devbank.apiture.com/apiName/resourceName/resourceId"
}
},
"_error": {
"_id": "2eae46e1-575c-4d69-8a8f-0a7b0115a4b3",
"message": "Description of the error will appear here.",
"statusCode": 422,
"type": "specificErrorType",
"attributes": {
"value": "Optional attribute describing the error"
},
"remediation": "Optional instructions to remediate the error may appear here.",
"occurredAt": "2018-01-25T05:50:52.375Z",
"_links": {
"describedby": {
"href": "https://production.api.apiture.com/errors/specificErrorType"
}
},
"_embedded": {
"errors": []
}
}
}
Error Response (v2.1.1)
Describes an error response, typically returned on 4xx or 5xx errors from API operations. The _error
object contains the error details.
This schema was resolved from common/errorResponse
.
Properties
Name | Description |
---|---|
Error Response (v2.1.1) | Describes an error response, typically returned on 4xx or 5xx errors from API operations. The _error object contains the error details. This schema was resolved from |
_links | An optional map of links, mapping each link relation to a link object. This model defines the _links object of HAL representations. This schema was resolved from |
_embedded | An optional map of nested resources, mapping each nested resource name to a nested resource representation. |
_profile | The URI of a resource profile which describes the representation. read-only format: uri |
_error | An object which describes an error. This value is omitted if the operation succeeded without error. read-only |
foreignPoliticalFigureAssociation
"unknown"
Foreign Political Figure Association (v1.1.1)
Describes if/how the person is associated with a foreign political figure.
foreignPoliticalFigureAssociation
strings may have one of the following enumerated values:
Value | Description |
---|---|
unknown | Unknown |
closeAssociate | Close Associate: This person is a close associate of a foreign political figure. |
familyMember | Family Member: This person is a family of a foreign political figure. |
none | None: This person is not associated with a foreign political figure. |
other | Other |
notApplicable | Not Applicable |
These enumeration values are further described by the label group named foreignPoliticalFigureAssociation
in the response from the getLabels
operation.
Warning: The schema foreignPoliticalFigureAssociation
was deprecated on version v0.19.0
of the API. Use foreignPoliticalFigureAssociation
on kycAnswers
schema in Users API instead. foreignPoliticalFigureAssociation
will be removed on version v0.28.0
of the API.
deprecated
type:
string
deprecated: true
enum values: unknown
, closeAssociate
, familyMember
, none
, other
, notApplicable
identification
{
"type": "taxId",
"value": "112-22-3333",
"expiration": "2024-12-01"
}
Identification (v1.0.1)
Official identifying information associated with the contact.
Properties
Name | Description |
---|---|
Identification (v1.0.1) | Official identifying information associated with the contact. |
value | (required) The value of this form of identification, such as tax ID as a string. The caller should pass the full value (for example "112-22-3333" ) when creating a contact or user. The input value may include '-' formatting characters. This is a masked value in API responses, with one or more leading '*' characters and only the last four characters unmasked, such as "*****3333" .format: text |
type | (required) The type of this form of identification. enum values: taxId , passportNumber |
expiration | The date when the form of identification expires, in RFC 3339 YYYY-MM-DD format.format: date |
identificationType
"taxId"
Identification Type (v1.0.0)
The type of this form of identification.
identificationType
strings may have one of the following enumerated values:
Value | Description |
---|---|
taxId | Tax ID: The government tax ID, such as a Social Security Number |
passportNumber | Passport Number |
These enumeration values are further described by the label group named identificationType
in the response from the getLabels
operation.
type:
string
enum values: taxId
, passportNumber
identityVerification
{
"provider": "string",
"sessionId": "string",
"scoredAt": "2019-09-13T06:11:01.375Z",
"score": "passed",
"state": "verified"
}
Identity Verification Data (v1.1.2)
Data points on the identity verification process that tells if a user has passed, failed or expired the identity check.
Warning: The schema identityVerification
was deprecated on version v0.19.0
of the API. Use identity verification of the user in the Identity service instead. identityVerification
will be removed on version v0.28.0
of the API.
deprecated
Properties
Name | Description |
---|---|
| Data points on the identity verification process that tells if a user has passed, failed or expired the identity check. Warning: The schema identityVerification was deprecated on version v0.19.0 of the API. Use identity verification of the user in the Identity service instead. identityVerification will be removed on version v0.28.0 of the API.deprecated: true |
| The name of the identity verification provider. Warning: The property provider was deprecated on version v1.1.0 of the schema. Use identity verification of the user in the Identity service instead. provider will be removed on version v2.0.0 of the schema.deprecated: true |
| The unique id for a session of the identity verification process. Warning: The property sessionId was deprecated on version v1.1.0 of the schema. Use identity verification of the user in the Identity service instead. sessionId will be removed on version v2.0.0 of the schema.deprecated: true |
| The date-time when the provider ran identity verification. This is an RFC 3339 time stamp. Warning: The property scoredAt was deprecated on version v1.1.0 of the schema. Use identity verification of the user in the Identity service instead. scoredAt will be removed on version v2.0.0 of the schema.format: date-time deprecated: true |
| The indication if the contact has passed or failed the identity verification process. Warning: The property score was deprecated on version v1.1.0 of the schema. Use identity verification of the user in the Identity service instead. score will be removed on version v2.0.0 of the schema.deprecated: true enum values: passed , failed , expired |
| The identity verification status for this person. This field is read-only and is derived from the results of any identity verification processes executed against the personally identifiable information (PII) contained in this record. Warning: The property state was deprecated on version v1.1.0 of the schema. Use identity verification of the user in the Identity service instead. state will be removed on version v2.0.0 of the schema.read-only deprecated: true enum values: verified , unverified |
kycAnswers
{
"foreignPoliticalFigure": false,
"foreignPoliticalFigureCountry": "st",
"foreignPoliticalFigureAssociation": "unknown"
}
Know Your Customer Answers (v1.1.2)
Answers to 'Know Your Customer' questions which allow financial institutions to conform to a customer identification program.
Warning: The schema kycAnswers
was deprecated on version v0.19.0
of the API. Use kycAnswers
on user
schema in Users API instead. kycAnswers
will be removed on version v0.28.0
of the API.
deprecated
Properties
Name | Description |
---|---|
| Answers to 'Know Your Customer' questions which allow financial institutions to conform to a customer identification program. Warning: The schema kycAnswers was deprecated on version v0.19.0 of the API. Use kycAnswers on user schema in Users API instead. kycAnswers will be removed on version v0.28.0 of the API.deprecated: true |
foreignPoliticalFigure | true if the person is a foreign senior political figure.default: false |
foreignPoliticalFigureCountry | If the person is a foreign senior political figure, this is the foreign country ISO 3166-1 country code. This field is omitted if foreignPoliticalFigure is false .maxLength: 2 |
| The type of association to a foreign political figure. deprecated: true enum values: unknown , closeAssociate , familyMember , none , other , notApplicable |
labelGroup
{
"unknown": {
"label": "Unknown",
"code": "0",
"hidden": true
},
"under1Million": {
"label": "Under $1M",
"code": "1",
"range": "[0,1000000.00)",
"variants": {
"fr": {
"label": "Moins de $1M"
}
}
},
"from1to10Million": {
"label": "$1M to $10M",
"code": "2",
"range": "[1000000.00,10000000.00)",
"variants": {
"fr": {
"label": "$1M \\u00e0 $10M"
}
}
},
"from10to100Million": {
"label": "$10M to $100M",
"code": "3",
"range": "[10000000.00,100000000.00)",
"variants": {
"fr": {
"label": "$10M \\u00e0 $100M"
}
}
},
"over100Million": {
"label": "Over $100,000,000.00",
"code": "4",
"range": "[100000000.00,]",
"variants": {
"fr": {
"label": "Plus de $10M"
}
}
},
"other": {
"label": "Other",
"code": "254"
}
}
Label Group (v1.0.3)
A map that defines labels for the items in a group. This is a map from each item name → a labelItem
object. For example, consider a JSON response that includes a property named revenueEstimate
; the values for revenueEstimate
must be one of the items in the group named estimatedAnnualRevenue
, with options ranging under1Million
, to over100Million
. The item name is used as the selected value in an Apiture representation, such as { ..., "revenueEstimate" : "from10to100Million" , ...}
, and the item with the name from10to100Million
defines the presentation labels for that item, as well as other metadata about that choice: this is the range [10000000.00,100000000.00)
.
This allows the client to let the user select a value from a list, such as the following derived from the labels in the example:
- Unknown
- Under $1M
- $1M to $10M
- $10M to $100M
- $100M or more
Note that the other
item is hidden from the selection list, as that item is marked as hidden
. For items which define numeric ranges, a client may instead let the customer directly enter their estimated annual revenue as a number, such as 4,500,000.00. The client can then match that number to one of ranges in the items and set the revenueEstimate
to the corresponding item's name: { ..., "revenueEstimate" : "from1to10Million", ... }
.
This schema was resolved from common/labelGroup
.
Properties
Name | Description |
---|---|
Label Group (v1.0.3) | A map that defines labels for the items in a group. This is a map from each item name → a labelItem object. For example, consider a JSON response that includes a property named revenueEstimate ; the values for revenueEstimate must be one of the items in the group named estimatedAnnualRevenue , with options ranging under1Million , to over100Million . The item name is used as the selected value in an Apiture representation, such as { ..., "revenueEstimate" : "from10to100Million" , ...} , and the item with the name from10to100Million defines the presentation labels for that item, as well as other metadata about that choice: this is the range [10000000.00,100000000.00) . This allows the client to let the user select a value from a list, such as the following derived from the labels in the example:
Note that the This schema was resolved from |
Label Item (v1.0.2) | An item in a labelGroup , with a set of variants which contains different localized labels for the item. Each simpleLabel variant defines the presentation text label and optional description for a language. Items may also have a lookup code to map to external systems, a numeric range, and a hidden boolean to indicate the item is normally hidden in the UI. This schema was resolved from |
labelGroups
{
"_profile": "https://production.api.apiture.com/schemas/common/labelGroups/v1.1.3/profile.json",
"_links": {
"self": {
"href": "https://api.devbank.apiture.com/apiName/resourceName/resourceId"
}
},
"groups": {
"firstGroup": {
"unknown": {
"label": "Unknown",
"code": "0",
"hidden": true
},
"key1": {
"label": "Label for Key 1",
"code": "1",
"variants": {
"es": {
"label": "(Spanish label for Key 1)"
},
"fr": {
"label": "(French label for Key 1)"
}
}
},
"key2": {
"label": "Label for Key 2",
"code": "2",
"variants": {
"es": {
"label": "(Spanish label for Key 2)"
},
"fr": {
"label": "(French label for Key 2)"
}
}
},
"key3": {
"label": "Label for Key 3",
"code": "3",
"variants": {
"es": {
"label": "(Spanish label for Key 3)"
},
"fr": {
"label": "(French label for Key 3)"
}
}
},
"other": {
"label": "Other",
"variants": {
"es": {
"label": "(Spanish label for Other)"
},
"fr": {
"label": "(French label for Other)"
}
},
"code": "254"
}
},
"secondGroup": {
"unknown": {
"label": "Unknown",
"code": "?",
"hidden": true
},
"optionA": {
"label": "Option A",
"code": "A"
},
"optionB": {
"label": "Option B",
"code": "B"
},
"optionC": {
"label": "Option C",
"code": "C"
},
"other": {
"label": "Other",
"code": "_"
}
}
}
}
Label Groups (v1.1.3)
A set of named groups of labels, each of which contains multiple item labels.
The abbreviated example shows two groups, one named structure
and one named estimatedAnnualRevenue
. The first has items with names such as corporation
, llc
and soleProprietorship
, with text labels for each in the default and in French. The second has items for estimated revenue ranges but no localized labels. For example, the item named from1to10Million
has the label
"$1M to $10M" and the range [1000000.00,10000000.00)
.
This schema was resolved from common/labelGroups
.
Properties
Name | Description |
---|---|
Label Groups (v1.1.3) | A set of named groups of labels, each of which contains multiple item labels. The abbreviated example shows two groups, one named This schema was resolved from |
_links | An optional map of links, mapping each link relation to a link object. This model defines the _links object of HAL representations. This schema was resolved from |
_embedded | An optional map of nested resources, mapping each nested resource name to a nested resource representation. |
_profile | The URI of a resource profile which describes the representation. read-only format: uri |
_error | An object which describes an error. This value is omitted if the operation succeeded without error. read-only |
groups | Groups of localized labels. This maps group names → a group of labels within that group. |
» Label Group (v1.0.3) | A map that defines labels for the items in a group. This is a map from each item name → a labelItem object. For example, consider a JSON response that includes a property named revenueEstimate ; the values for revenueEstimate must be one of the items in the group named estimatedAnnualRevenue , with options ranging under1Million , to over100Million . The item name is used as the selected value in an Apiture representation, such as { ..., "revenueEstimate" : "from10to100Million" , ...} , and the item with the name from10to100Million defines the presentation labels for that item, as well as other metadata about that choice: this is the range [10000000.00,100000000.00) . This allows the client to let the user select a value from a list, such as the following derived from the labels in the example:
Note that the This schema was resolved from |
labelItem
{
"label": "Over $100,000,000.00",
"code": "4",
"range": "[100000000.00,]",
"variants": {
"fr": {
"label": "Plus de $10M"
}
}
}
Label Item (v1.0.2)
An item in a labelGroup
, with a set of variants
which contains different localized labels for the item. Each simpleLabel
variant defines the presentation text label and optional description for a language. Items may also have a lookup code
to map to external systems, a numeric range, and a hidden
boolean to indicate the item is normally hidden in the UI.
This schema was resolved from common/labelItem
.
Properties
Name | Description |
---|---|
Label Item (v1.0.2) | An item in a labelGroup , with a set of variants which contains different localized labels for the item. Each simpleLabel variant defines the presentation text label and optional description for a language. Items may also have a lookup code to map to external systems, a numeric range, and a hidden boolean to indicate the item is normally hidden in the UI. This schema was resolved from |
label | (required) A label or title which may be used as labels or other UI controls which present a value. |
description | A more detailed localized description of a localizable label. |
variants | The language-specific variants of this label. The keys in this object are RFC 7231 language codes. |
» Simple Label (v1.0.0) | A text label and optional description. This schema was resolved from |
code | If the localized value is associated with an external standard or definition, this is a lookup code or key or URI for that value. minLength: 1 |
hidden | If true , this item is normally hidden from the User Interface. |
range | The range of values, if the item describes a bounded numeric value. This is range notation such as [min,max] , (exclusiveMin,max] , [min,exclusiveMax) , or (exclusiveMin,exclusiveMax) . For example, [0,100) is the range greater than or equal to 0 and less than 100. If the min or max value are omitted, that end of the range is unbounded. For example, (,1000.00) means less than 1000.00 and [20000.00,] means 20000.00 or more. The ranges do not overlap or have gaps.pattern: "^[\\[\\(](-?(0|[1-9][0-9]*)(\\.[0-9]+)?)?,(-?(0|[1-9][0-9]*)(\\.[0-9]+)?)?[\\]\\)]$" |
link
{
"href": "https://api.devbank.apiture.com/applications/application/328f6bf6-d762-422f-a077-ab91ca4d0b6f",
"title": "Application"
}
Link (v1.0.0)
Describes a hypermedia link within a _links
object in HAL representations. In Apiture APIs, links are HAL links, but Apiture APIs do not use the name
or hreflang
properties of HAL. Apiture links may include a method
property.
This schema was resolved from common/link
.
Properties
Name | Description |
---|---|
Link (v1.0.0) | Describes a hypermedia link within a _links object in HAL representations. In Apiture APIs, links are HAL links, but Apiture APIs do not use the name or hreflang properties of HAL. Apiture links may include a method property. This schema was resolved from |
href | (required) The URI or URI template for the resource/operation this link refers to. format: uri |
type | The media type for the resource. |
templated | If true, the link's href is a URI template. |
title | An optional human-readable localized title for the link. |
deprecation | If present, the containing link is deprecated and the value is a URI which provides human-readable text information about the deprecation. format: uri |
profile | The URI of a profile document, a JSON document which describes the target resource/operation. format: uri |
links
{
"property1": {
"href": "https://api.devbank.apiture.com/applications/application/328f6bf6-d762-422f-a077-ab91ca4d0b6f",
"title": "Application"
},
"property2": {
"href": "https://api.devbank.apiture.com/applications/application/328f6bf6-d762-422f-a077-ab91ca4d0b6f",
"title": "Application"
}
}
Links (v1.0.0)
An optional map of links, mapping each link relation to a link object. This model defines the _links
object of HAL representations.
This schema was resolved from common/links
.
Properties
Name | Description |
---|---|
Links (v1.0.0) | An optional map of links, mapping each link relation to a link object. This model defines the _links object of HAL representations. This schema was resolved from |
Link (v1.0.0) | Describes a hypermedia link within a _links object in HAL representations. In Apiture APIs, links are HAL links, but Apiture APIs do not use the name or hreflang properties of HAL. Apiture links may include a method property. This schema was resolved from |
occupation
"unknown"
Occupation (v1.0.0)
The person's occupation.
Warning: The enum
list will be removed in a future release.
The allowed values for this property are defined at runtime in the label group named occupation
in the response from the getLabels
operation.
type:
string
enum values: unknown
, architectureAndEngineering
, artsDesignEntertainmentSportsAndMedia
, buildingAndGroundsCleaningAndMaintenance
, businessAndFinancialOperations
, communityAndSocialService
, computerAndMathematical
, constructionAndExtraction
, educationTrainingAndLibrary
, farmingFishingAndForestry
, foodPreparationAndServingRelated
, healthcarePractitionersAndTechnical
, healthcareSupport
, installationMaintenanceAndRepair
, legal
, lifePhysicalAndSciences
, management
, militarySpecific
, officeAndAdministrativeSupport
, personalCareAndService
, production
, protectiveServices
, salesAndRelated
, transportationAndMaterialMoving
, other
, notApplicable
phoneNumber
{
"_id": "hp1",
"type": "home",
"number": "+19105550155"
}
Phone Number (v1.2.1)
A phone number and its role.
Properties
Name | Description |
---|---|
Phone Number (v1.2.1) | A phone number and its role. |
type | (required) The type or role of this phone number. enum values: unknown , home , work , mobile , fax , other |
number | (required) The phone number, as a string. The service strips all spaces, hyphens, periods and parentheses from input. The default country code prefix is +1 . Phone numbers are returned in responses in E.164 format with a leading + , country code (up to 3 digits) and subscriber number for a total of up to 15 digits. See Phone Number Representations for more information.format: phone-number minLength: 8 maxLength: 20 |
extension | The extension number for a phone number, as a string. An extension is a short internal number assigned to a particular employee, team, or department of the main business number. Extensions are typically only present when the phone type is work .minLength: 1 maxLength: 10 pattern: "^[0-9]{1,10}$" |
label | A text label, suitable for presentation to the end user. This is also used if type is other .format: text maxLength: 32 |
_id | An identifier for this phone number, so that it can be referenced uniquely. The service will assign a unique _id if the client does not provide one. The _id must be unique across all phone numbers within the phones array.minLength: 1 maxLength: 8 pattern: "^[-a-zA-Z0-9_]{1,8}$" |
phoneNumberType
"unknown"
Phone Number Type (v1.0.0)
The type or role of this phone number.
Warning: The enum
list will be removed in a future release.
The allowed values for this property are defined at runtime in the label group named phoneNumberType
in the response from the getLabels
operation.
type:
string
enum values: unknown
, home
, work
, mobile
, fax
, other
preferredContactMethod
"unknown"
Preferred Contact Method (v1.0.0)
The contact's preferred method of communication.
Warning: The enum
list will be removed in a future release.
The allowed values for this property are defined at runtime in the label group named preferredContactMethod
in the response from the getLabels
operation.
type:
string
enum values: unknown
, sms
, email
, other
, notApplicable
residencyStatus
"unknown"
Residency (v1.0.0)
Residency status.
Warning: The enum
list will be removed in a future release.
The allowed values for this property are defined at runtime in the label group named residencyStatus
in the response from the getLabels
operation.
type:
string
enum values: unknown
, resident
, nonresident
, residentAlien
, nonresidentAlien
, other
, notApplicable
root
{
"_profile": "https://production.api.apiture.com/schemas/common/root/v2.1.1/profile.json",
"_links": {
"self": {
"href": "https://api.devbank.apiture.com/apiName/resourceName/resourceId"
}
},
"id": "apiName",
"name": "API name",
"apiVersion": "1.0.0"
}
API Root (v2.1.1)
A HAL response, with hypermedia _links
for the top-level resources and operations in API.
This schema was resolved from common/root
.
Properties
Name | Description |
---|---|
API Root (v2.1.1) | A HAL response, with hypermedia _links for the top-level resources and operations in API. This schema was resolved from |
_links | An optional map of links, mapping each link relation to a link object. This model defines the _links object of HAL representations. This schema was resolved from |
_embedded | An optional map of nested resources, mapping each nested resource name to a nested resource representation. |
_profile | The URI of a resource profile which describes the representation. read-only format: uri |
_error | An object which describes an error. This value is omitted if the operation succeeded without error. read-only |
_id | This API's unique ID. read-only |
name | This API's name. |
apiVersion | This API's version. |
simpleAddress
{
"addressLine1": "555 N Front Street",
"addressLine2": "Suite 5555",
"city": "Wilmington",
"regionCode": "NC",
"postalCode": "28401-5405",
"countryCode": "US"
}
Simple Address (v1.1.2)
A postal address.
Properties
Name | Description |
---|---|
Simple Address (v1.1.2) | A postal address. |
addressLine1 | The first street address line of the address, normally a house number and street name. format: address-text minLength: 4 maxLength: 128 |
addressLine2 | The optional second street address line of the address. format: address-text maxLength: 128 |
city | The name of the city or municipality. format: address-text minLength: 2 maxLength: 128 |
regionCode | The mailing address region code, such as state in the US, or a province in Canada. This is normalized to uppercase. minLength: 2 maxLength: 2 pattern: "^[a-zA-Z]{2}$" |
postalCode | The mailing address postal code, such as a US Zip or Zip+4 code, or a Canadian postal code. minLength: 5 maxLength: 10 pattern: "^[0-9]{5}(?:-[0-9]{4})?$" |
countryCode | The ISO 3166-1 alpha-2 country code. This is normalized to uppercase. minLength: 2 maxLength: 2 pattern: "^[a-zA-Z]{2}$" |
simpleContact
{
"firstName": "John",
"middleName": "Daniel",
"lastName": "Smith",
"addresses": [
{
"_id": "ha1",
"type": "home",
"addressLine1": "555 N Front Street",
"addressLine2": "Suite 5555",
"city": "Wilmington",
"regionCode": "NC",
"postalCode": "28401-5405",
"countryCode": "US"
},
{
"_id": "wa1",
"type": "work",
"addressLine1": "123 S 3rd Street",
"addressLine2": "Apt 42",
"city": "Wilmington",
"regionCode": "NC",
"postalCode": "28411-5405",
"countryCode": "US"
}
],
"preferredMailingAddressId": "ha1",
"emailAddresses": [
{
"id": "pe0",
"value": "api@apiture.com",
"type": "personal"
},
{
"id": "wp1",
"value": "support@apiture.com",
"type": "work"
}
],
"preferredEmailAddressId": "pe0",
"phones": [
{
"_id": "hp1",
"type": "home",
"number": "+19105550155"
},
{
"_id": "mp1",
"type": "mobile",
"number": "+19105550159"
},
{
"_id": "wp1",
"type": "work",
"number": "+19105550162",
"extension": "4512"
}
],
"preferredPhoneId": "hp1",
"preferredName": "John",
"suffix": "MD",
"identification": [
{
"type": "taxId",
"value": "*****3333"
}
],
"preferredContactMethod": "email"
}
Simple Contact (v1.3.2)
Basic contact and identification information for a person, consisting of the name, mailing address, phone numbers, email addresses, and government identification.
Properties
Name | Description |
---|---|
Simple Contact (v1.3.2) | Basic contact and identification information for a person, consisting of the name, mailing address, phone numbers, email addresses, and government identification. |
firstName | The person's first name (or given name). format: person-name minLength: 0 maxLength: 80 |
middleName | The person's middle name. format: person-name minLength: 1 maxLength: 80 |
lastName | The person's last name (or surname). format: person-name minLength: 1 maxLength: 80 |
addresses | array: An array of postal/mailing addresses. items: object |
preferredMailingAddressId | The preferred mailing address. This string is the _id of an address in the addresses array.minLength: 1 maxLength: 8 pattern: "^[-a-zA-Z0-9_]{1,8}$" |
emailAddresses | array: An array of email addresses. items: object |
preferredEmailAddressId | The preferred email address. This string is the _id of an email address in the emailAddresses array.minLength: 1 maxLength: 8 pattern: "^[-a-zA-Z0-9_]{1,8}$" |
phones | array: An array of phone numbers. items: object |
preferredPhoneId | The ID of preferred phone number. This string is the _id of a phone number in the phones array.minLength: 1 maxLength: 8 pattern: "^[-a-zA-Z0-9_]{1,8}$" |
prefix | A title or honorific prefix such as Dr. or Fr. format: person-name maxLength: 20 |
suffix | A title or honorific suffix such as PhD or DDS. format: person-name maxLength: 20 |
preferredName | The contact's preferred name. This is how the contact's name is presented to the user in the interface. The default is the contact's firstName .format: person-name minLength: 0 maxLength: 80 |
identification | array: A collection of official identifying information associated with the contact. items: object |
preferredContactMethod | The contact's preferred method of communication. enum values: unknown , sms , email , other , notApplicable |
simpleLabel
{
"label": "Board of Directors",
"description": "string"
}
Simple Label (v1.0.0)
A text label and optional description.
This schema was resolved from common/simpleLabel
.
Properties
Name | Description |
---|---|
Simple Label (v1.0.0) | A text label and optional description. This schema was resolved from |
label | (required) A label or title which may be used as labels or other UI controls which present a value. |
description | A more detailed localized description of a localizable label. |
summaryContact
{
"firstName": "John",
"middleName": "Daniel",
"lastName": "Smith",
"preferredName": "John",
"suffix": "MD",
"identification": [
{
"type": "taxId",
"value": "*****3333"
}
],
"emailAddresses": [
{
"_id": "ea1",
"value": "api@apiture.com",
"type": "personal",
"id": "pe0"
},
{
"_id": "ek3",
"value": "support@apiture.com",
"type": "work",
"id": "wp1"
}
],
"preferredEmailAddressId": "ea1",
"phones": [
{
"_id": "pa1",
"type": "home",
"number": "+19105550155"
},
{
"_id": "da6",
"type": "mobile",
"number": "+19105550155"
},
{
"_id": "wp1",
"type": "work",
"number": "+19105550162",
"extension": "4512"
}
],
"preferredPhoneId": "pa1",
"birthdate": "1974-10-27",
"citizenship": [
{
"countryCode": "US",
"state": "citizen"
}
],
"residencyStatus": "resident",
"occupation": "officeAndAdministrativeSupport",
"addresses": [
{
"_id": "ha1",
"type": "home",
"addressLine1": "555 N Front Street",
"addressLine2": "Suite 5555",
"city": "Wilmington",
"regionCode": "NC",
"postalCode": "28401-5405",
"countryCode": "US"
},
{
"_id": "wa1",
"type": "work",
"addressLine1": "123 S 3rd Street",
"addressLine2": "Apt 42",
"city": "Wilmington",
"regionCode": "NC",
"postalCode": "28411-5405",
"countryCode": "US"
}
],
"preferredMailingAddressId": "ha1",
"yearsAtAddress": 3,
"mailingDifferentAddress": false,
"state": "active",
"preferredContactMethod": "email",
"_profile": "https://production.api.apiture.com/schemas/contacts/summaryContact/v2.2.2/profile.json",
"_links": {
"self": {
"href": "https://api.devbank.apiture.com/contacts/contacts/0399abed-fd3d-4830-a88b-30f38b8a365c"
}
},
"_id": "0399abed-fd3d-4830-a88b-30f38b8a365c"
}
Contact Summary (v2.2.2)
Summary representation of a contact resource in contacts collections. This representation normally does not contain any _embedded
objects. If needed, call the GET
operation on the item's self
link to get _embedded
objects.
deprecated
Properties
Name | Description |
---|---|
| Summary representation of a contact resource in contacts collections. This representation normally does not contain any _embedded objects. If needed, call the GET operation on the item's self link to get _embedded objects.deprecated: true |
| An object that contains the answers to Know Your Customer (KYC) questions. Warning: The property kycAnswers was deprecated on version v1.0.0 of the schema. Use kycAnswers on the user schema in Users API instead. kycAnswers will be removed on version v2.0.0 of the schema.deprecated: true |
| Use the state of identityVerification . The identity verification status for this person. This field is read-only and is derived from the results of any identity verification processes executed against the personally identifiable information (PII) contained in this record.Warning: The property identityVerificationStatus was deprecated on version v1.0.0 of the schema. Use identity verification of the user in the Identity service instead. identityVerificationStatus will be removed on version v2.0.0 of the schema.read-only deprecated: true enum values: verified , unverified |
| The identity verification data for this person. These fields are derived from the results of any identity verification processes executed against the personally identifiable information (PII) contained in this record. Warning: The property identityVerification was deprecated on version v1.0.0 of the schema. Use identity verification of the user in the Identity service instead. identityVerification will be removed on version v2.0.0 of the schema.deprecated: true |
firstName | The person's first name (or given name). format: person-name minLength: 0 maxLength: 80 |
middleName | The person's middle name. format: person-name minLength: 1 maxLength: 80 |
lastName | The person's last name (or surname). format: person-name minLength: 1 maxLength: 80 |
addresses | array: An array of postal/mailing addresses. items: object |
preferredMailingAddressId | The preferred mailing address. This string is the _id of an address in the addresses array.minLength: 1 maxLength: 8 pattern: "^[-a-zA-Z0-9_]{1,8}$" |
emailAddresses | array: An array of email addresses. items: object |
preferredEmailAddressId | The preferred email address. This string is the _id of an email address in the emailAddresses array.minLength: 1 maxLength: 8 pattern: "^[-a-zA-Z0-9_]{1,8}$" |
phones | array: An array of phone numbers. items: object |
preferredPhoneId | The ID of preferred phone number. This string is the _id of a phone number in the phones array.minLength: 1 maxLength: 8 pattern: "^[-a-zA-Z0-9_]{1,8}$" |
prefix | A title or honorific prefix such as Dr. or Fr. format: person-name maxLength: 20 |
suffix | A title or honorific suffix such as PhD or DDS. format: person-name maxLength: 20 |
preferredName | The contact's preferred name. This is how the contact's name is presented to the user in the interface. The default is the contact's firstName .format: person-name minLength: 0 maxLength: 80 |
identification | array: A collection of official identifying information associated with the contact. items: object |
preferredContactMethod | The contact's preferred method of communication. enum values: unknown , sms , email , other , notApplicable |
birthdate | The contact's birth date in YYYY-MM-DD format.format: date |
citizenship | array: This individual's citizenship or nationality status. items: object |
residencyStatus | This individual's residency status. enum values: unknown , resident , nonresident , residentAlien , nonresidentAlien , other , notApplicable |
occupation | The occupation of this individual. Warning: The occupation enumeration list will be removed in a future release.enum values: unknown , architectureAndEngineering , artsDesignEntertainmentSportsAndMedia , buildingAndGroundsCleaningAndMaintenance , businessAndFinancialOperations , communityAndSocialService , computerAndMathematical , constructionAndExtraction , educationTrainingAndLibrary , farmingFishingAndForestry , foodPreparationAndServingRelated , healthcarePractitionersAndTechnical , healthcareSupport , installationMaintenanceAndRepair , legal , lifePhysicalAndSciences , management , militarySpecific , officeAndAdministrativeSupport , personalCareAndService , production , protectiveServices , salesAndRelated , transportationAndMaterialMoving , other , notApplicable |
otherOccupation | The actual occupation of this individual if their occupation is other . This is ignored if occupation is not other .format: text minLength: 4 maxLength: 100 |
| The number of years the person has been at their present home address. Warning: The property yearsAtAddress was deprecated on version v1.1.0 of the schema. Use user.yearsAtAddress (via Users API) instead. yearsAtAddress will be removed on version v2.0.0 of the schema.deprecated: true enum values: unknown , oneOrFewer , two , three , fourOrMore |
_links | An optional map of links, mapping each link relation to a link object. This model defines the _links object of HAL representations. This schema was resolved from |
_embedded | An optional map of nested resources, mapping each nested resource name to a nested resource representation. |
_profile | The URI of a resource profile which describes the representation. read-only format: uri |
_error | An object which describes an error. This value is omitted if the operation succeeded without error. read-only |
state | The state of this person's record. read-only enum values: inactive , active , merged , removed |
_id | The unique identifier for this contact resource. This is an immutable opaque string. read-only |
typedEmailAddress
{
"value": "JohnBankCustomer@example.com",
"type": "unknown",
"_id": "ha3"
}
Email Address (v1.1.0)
An email address and the email address type.
Properties
Name | Description |
---|---|
Email Address (v1.1.0) | An email address and the email address type. |
value | The email address, such as JohnBankCustomer@example.com format: email minLength: 8 maxLength: 120 |
type | The kind of email address. enum values: unknown , personal , work , school , other , notApplicable |
_id | An identifier for this email address, so that it can be referenced uniquely. The service will assign a unique _id if the client does not provide one. The _id must be unique across all email addresses within the emailAddresses array.minLength: 1 maxLength: 8 pattern: "^[-a-zA-Z0-9_]{1,8}$" |
yearsAtAddress
"unknown"
Years at Address (v1.0.0)
Categories for how long the person has been at their present home address.
type:
string
enum values: unknown
, oneOrFewer
, two
, three
, fourOrMore
@apiture/api-doc
3.2.4 on Mon Oct 28 2024 14:41:05 GMT+0000 (Coordinated Universal Time).