Branchconfiguration
Model representation of the configuration for a branch.
address object
Represents an address.
The city for this address.
The country that is part of the address.
The first line of the address.
The second line of the address.
The post code that is part of the address.
The region that is part of the address.
customFieldValueSets object[]
Custom fields value sets of the branch. Ordered by the set id.
groupedCustomFieldValues object[]
Custom field values for group type sets. Ordered by the group index that must start from 0.
customFieldValues object[]required
Custom field values of the group.
User-defined ID, globally unique.
Custom field value
Index representing the id of custom field values in a set.
User-defined set ID, globally unique.
standardCustomFieldValues object[]
Custom field values for standard type sets. Ordered by custom field id.
User-defined ID, globally unique.
Custom field value
Branch email address.
holidays object[]
Holidays of the branch. The yaml file dictates the ordering.
Day of the month of the holiday
The id of the Holiday
If holiday occurs every year
Month of the year of the holiday
The description of the Holiday
Year of holiday
User-defined ID, globally unique. Branches are ordered by id in the yaml file.
Name of the branch.
Notes for the branch.
Branch phone number, as a string.
Model representation of the state of a branch.
Possible values: [ACTIVE, INACTIVE]
{
"address": {
"city": "string",
"country": "string",
"line1": "string",
"line2": "string",
"postcode": "string",
"region": "string"
},
"customFieldValueSets": [
{
"groupedCustomFieldValues": [
{
"customFieldValues": [
{
"customFieldId": "string",
"value": "string"
}
],
"index": 0
}
],
"id": "string",
"standardCustomFieldValues": [
{
"customFieldId": "string",
"value": "string"
}
]
}
],
"emailAddress": "string",
"holidays": [
{
"dayOfMonth": 0,
"id": 0,
"isAnnuallyRecurring": true,
"monthOfYear": 0,
"name": "string",
"year": 0
}
],
"id": "string",
"name": "string",
"notes": "string",
"phoneNumber": "string",
"state": "ACTIVE"
}