API ReferenceSubsidiaries
Get page by page number and size with optional sorting based on field to sortBy and direction
AuthorizationBearer <token>
In: header
Query Parameters
pageNumber?integer
Format
int32pageSize?integer
Format
int32sortBy?string
direction?string
Value in
"ASC" | "DESC"search?string
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "http://localhost:18080/api/v1/subsidiaries/page"{
"content": [
{
"address": {
"city": "string",
"country": "string",
"houseNumber": "string",
"id": "string",
"latitude": 0.1,
"longitude": 0.1,
"postalCode": "string",
"street": "string"
},
"availableAsSubsidiary": true,
"billingInfo": {
"address": {
"city": "string",
"country": "string",
"houseNumber": "string",
"id": "string",
"latitude": 0.1,
"longitude": 0.1,
"postalCode": "string",
"street": "string"
},
"bank": "string",
"bic": "string",
"cocNumber": "string",
"contacts": [
{
"department": "string",
"email": "string",
"firstName": "string",
"id": "string",
"lastName": "string",
"phone": "string"
}
],
"email": "string",
"iban": "string",
"phone": "string",
"type": "COMPANY",
"vatNumber": "string"
},
"color": "string",
"created": "2019-08-24T14:15:22Z",
"createdBy": "string",
"documentSettings": {
"estimateFooterEn": "string",
"estimateFooterNl": "string",
"hideVatColumnWhenUniform": true,
"invoiceFooterEn": "string",
"invoiceFooterNl": "string",
"pdfColumnLabelsEn": {
"property1": "string",
"property2": "string"
},
"pdfColumnLabelsNl": {
"property1": "string",
"property2": "string"
},
"pdfColumnOrder": [
"string"
],
"showClientContactInfo": true,
"showDiscountLines": true,
"showRowNumbers": true
},
"emailSettings": {
"defaultReplyTo": "string",
"defaultSenderName": "string",
"emailSignature": "string",
"senderMailbox": "string"
},
"id": "string",
"isAvailableAsSubsidiary": true,
"isRoot": true,
"name": "string",
"parentId": "string",
"phone": "string",
"root": true,
"subsidiaries": [
{
"address": {
"city": "string",
"country": "string",
"houseNumber": "string",
"id": "string",
"latitude": 0.1,
"longitude": 0.1,
"postalCode": "string",
"street": "string"
},
"availableAsSubsidiary": true,
"billingInfo": {
"address": {
"city": "string",
"country": "string",
"houseNumber": "string",
"id": "string",
"latitude": 0.1,
"longitude": 0.1,
"postalCode": "string",
"street": "string"
},
"bank": "string",
"bic": "string",
"cocNumber": "string",
"contacts": [
{
"department": "string",
"email": "string",
"firstName": "string",
"id": "string",
"lastName": "string",
"phone": "string"
}
],
"email": "string",
"iban": "string",
"phone": "string",
"type": "COMPANY",
"vatNumber": "string"
},
"color": "string",
"created": "2019-08-24T14:15:22Z",
"createdBy": "string",
"documentSettings": {
"estimateFooterEn": "string",
"estimateFooterNl": "string",
"hideVatColumnWhenUniform": true,
"invoiceFooterEn": "string",
"invoiceFooterNl": "string",
"pdfColumnLabelsEn": {
"property1": "string",
"property2": "string"
},
"pdfColumnLabelsNl": {
"property1": "string",
"property2": "string"
},
"pdfColumnOrder": [
"string"
],
"showClientContactInfo": true,
"showDiscountLines": true,
"showRowNumbers": true
},
"emailSettings": {
"defaultReplyTo": "string",
"defaultSenderName": "string",
"emailSignature": "string",
"senderMailbox": "string"
},
"id": "string",
"isAvailableAsSubsidiary": true,
"isRoot": true,
"name": "string",
"parentId": "string",
"phone": "string",
"root": true,
"subsidiaries": [],
"tcsPdf": {
"blobId": "string",
"created": "2019-08-24T14:15:22Z",
"extension": "string",
"fileSize": 0,
"name": "string",
"type": "IMAGE"
},
"tenantId": "string",
"updated": "2019-08-24T14:15:22Z",
"updatedBy": "string"
}
],
"tcsPdf": {
"blobId": "string",
"created": "2019-08-24T14:15:22Z",
"extension": "string",
"fileSize": 0,
"name": "string",
"type": "IMAGE"
},
"tenantId": "string",
"updated": "2019-08-24T14:15:22Z",
"updatedBy": "string"
}
],
"empty": true,
"first": true,
"last": true,
"number": 0,
"numberOfElements": 0,
"pageable": {
"offset": 0,
"pageNumber": 0,
"pageSize": 0,
"paged": true,
"sort": {
"empty": true,
"sorted": true,
"unsorted": true
},
"unpaged": true
},
"size": 0,
"sort": {
"empty": true,
"sorted": true,
"unsorted": true
},
"totalElements": 0,
"totalPages": 0
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}