Hi Ian,
I’m just going to provide context into our previous conversation as others may find this useful before I follow up to your latest question regarding the redirect behavior you are seeing.
Previous context:
Hi Ian,
I reset the data for BC3000069 and successfully applied an AR filing again via the postman collection we’ve provided. I just pasted the JSON body you had provided. There were some updates to date fields in the payload based on the resetting of founding date to make the business eligible for filing an AR. I’ve reset BC3000069 so you should be able to test with curl request I’ve provided.
I’ve included the raw requests/responses for the intercepted postman calls for the AR as well as the curl request. Only thing that has been redacted is the api key.
Following are raw requests/responses for the intercepted postman calls and for the AR curl request to this reply. It has been further redacted to exclude account id info.
Raw postman request
POST /business/api/v2/businesses/BC3000069/filings HTTP/1.1
x-apikey: <redacted>
account-id: <redacted>
Content-Type: application/json
User-Agent: PostmanRuntime/7.43.3
Accept: */*
Cache-Control: no-cache
Postman-Token: 7796140f-a024-491e-8fb9-a6cf6a776020
Host: sandbox.api.connect.gov.bc.ca
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
Content-Length: 3937
{
"filing": {
"header": {
"certifiedBy": "Ian Harder",
"email": "ianh@hardersoft.com",
"name": "annualReport",
"folioNumber": "17660",
"date": "2025-04-25",
"ARFilingYear": "2025",
"accountId": "<redacted>"
},
"business": {
"foundingDate": "2024-03-26T00:00:00+00:00",
"identifier": "BC3000069",
"legalName": "Test Organization Inc.",
"legalType": "BC"
},
"annualReport": {
"annualReportDate": "2025-03-26",
"nextARDate": "2025-03-26",
"offices": {
"registeredOffice": {
"deliveryAddress": {
"streetAddress": "#260, 2300 Carrington Road",
"addressCity": "Westbank",
"addressRegion": "BC",
"addressCountry": "CA",
"postalCode": "V4T 2N6"
},
"mailingAddress": {
"streetAddress": "#260, 2300 Carrington Road",
"addressCity": "Westbank",
"addressRegion": "BC",
"addressCountry": "CA",
"postalCode": "V4T 2N6"
}
},
"recordsOffice": {
"deliveryAddress": {
"streetAddress": "#260, 2300 Carrington Road",
"addressCity": "Westbank",
"addressRegion": "BC",
"addressCountry": "CA",
"postalCode": "V4T 2N6"
},
"mailingAddress": {
"streetAddress": "#260, 2300 Carrington Road",
"addressCity": "Westbank",
"addressRegion": "BC",
"addressCountry": "CA",
"postalCode": "V4T 2N6"
}
}
},
"directors": [
{
"appointmentDate": "2025-04-06",
"cessationDate": null,
"deliveryAddress": {
"addressCity": "Vancouver",
"addressCountry": "CA",
"addressRegion": "BC",
"deliveryInstructions": "",
"id": 4895203,
"postalCode": "V6E 3P3",
"streetAddress": "2010-1055 West Georgia Street",
"streetAddressAdditional": ""
},
"mailingAddress": {
"addressCity": "Vancouver",
"addressCountry": "CA",
"addressRegion": "BC",
"deliveryInstructions": "",
"id": 4895204,
"postalCode": "V6E 3P3",
"streetAddress": "P.O. Box 11140 ",
"streetAddressAdditional": "2010-1055 West Georgia Street"
},
"officer": {
"email": "",
"firstName": "LLOYD",
"id": 2587659,
"lastName": "AASEN",
"middleInitial": "H.",
"partyType": "person"
},
"role": "director"
},
{
"appointmentDate": "2025-04-06",
"cessationDate": null,
"deliveryAddress": {
"addressCity": "Vancouver",
"addressCountry": "CA",
"addressRegion": "BC",
"deliveryInstructions": "",
"id": 4895205,
"postalCode": "V6E 3P3",
"streetAddress": "2010-1055 West Georgia Street",
"streetAddressAdditional": ""
},
"mailingAddress": {
"addressCity": "Vancouver",
"addressCountry": "CA",
"addressRegion": "BC",
"deliveryInstructions": "",
"id": 4895206,
"postalCode": "V6E 3P3",
"streetAddress": "P.O. Box 11140",
"streetAddressAdditional": "2010-1055 West Georgia Street"
},
"officer": {
"email": "",
"firstName": "OLGA",
"id": 2587660,
"lastName": "BATURINA",
"partyType": "person"
},
"role": "director"
}
]
}
}
}
Raw Postman Response
HTTP/1.1 201 Created
content-type: application/json
access-control-allow-origin:
api: legal_api/2.135.0-missing
schemas: registry_schemas/2.18.31
x-cloud-trace-context: 5e3df2a72fa384564cc4cbe5d15acdb5;o=1
date: Fri, 25 Apr 2025 22:30:27 GMT
Content-Length: 2821
access-control-allow-headers: origin, x-requested-with, x-apikey, accept, content-type, account-id, x-apigee-csrf, Authorization, App-Name
access-control-max-age: 3628800
access-control-allow-methods: GET, PUT, POST, PATCH, DELETE
x-request-id: d368aec2-d81c-4846-8434-9a9e16c39ada
Via: 1.1 google
Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
{
"filing": {
"annualReport": {
"annualReportDate": "2025-03-26",
"directors": [
{
"appointmentDate": "2025-04-06",
"cessationDate": null,
"deliveryAddress": {
"addressCity": "Vancouver",
"addressCountry": "CA",
"addressRegion": "BC",
"deliveryInstructions": "",
"id": 4895203,
"postalCode": "V6E 3P3",
"streetAddress": "2010-1055 West Georgia Street",
"streetAddressAdditional": ""
},
"mailingAddress": {
"addressCity": "Vancouver",
"addressCountry": "CA",
"addressRegion": "BC",
"deliveryInstructions": "",
"id": 4895204,
"postalCode": "V6E 3P3",
"streetAddress": "P.O. Box 11140 ",
"streetAddressAdditional": "2010-1055 West Georgia Street"
},
"officer": {
"email": "",
"firstName": "LLOYD",
"id": 2587659,
"lastName": "AASEN",
"middleInitial": "H.",
"partyType": "person"
},
"role": "director"
},
{
"appointmentDate": "2025-04-06",
"cessationDate": null,
"deliveryAddress": {
"addressCity": "Vancouver",
"addressCountry": "CA",
"addressRegion": "BC",
"deliveryInstructions": "",
"id": 4895205,
"postalCode": "V6E 3P3",
"streetAddress": "2010-1055 West Georgia Street",
"streetAddressAdditional": ""
},
"mailingAddress": {
"addressCity": "Vancouver",
"addressCountry": "CA",
"addressRegion": "BC",
"deliveryInstructions": "",
"id": 4895206,
"postalCode": "V6E 3P3",
"streetAddress": "P.O. Box 11140",
"streetAddressAdditional": "2010-1055 West Georgia Street"
},
"officer": {
"email": "",
"firstName": "OLGA",
"id": 2587660,
"lastName": "BATURINA",
"partyType": "person"
},
"role": "director"
}
],
"nextARDate": "2025-03-26",
"offices": {
"recordsOffice": {
"deliveryAddress": {
"addressCity": "Westbank",
"addressCountry": "CA",
"addressRegion": "BC",
"postalCode": "V4T 2N6",
"streetAddress": "#260, 2300 Carrington Road"
},
"mailingAddress": {
"addressCity": "Westbank",
"addressCountry": "CA",
"addressRegion": "BC",
"postalCode": "V4T 2N6",
"streetAddress": "#260, 2300 Carrington Road"
}
},
"registeredOffice": {
"deliveryAddress": {
"addressCity": "Westbank",
"addressCountry": "CA",
"addressRegion": "BC",
"postalCode": "V4T 2N6",
"streetAddress": "#260, 2300 Carrington Road"
},
"mailingAddress": {
"addressCity": "Westbank",
"addressCountry": "CA",
"addressRegion": "BC",
"postalCode": "V4T 2N6",
"streetAddress": "#260, 2300 Carrington Road"
}
}
}
},
"business": {
"foundingDate": "2024-03-26T00:00:00+00:00",
"identifier": "BC3000069",
"legalName": "Test Organization Inc.",
"legalType": "BC"
},
"header": {
"ARFilingYear": "2025",
"accountId": "<redacted>",
"affectedFilings": [],
"availableOnPaperOnly": false,
"certifiedBy": "Ian Harder",
"colinIds": [],
"comments": [],
"date": "2025-04-25T22:30:26.944286+00:00",
"deletionLocked": false,
"effectiveDate": "2025-04-25T22:30:26.944319+00:00",
"email": "ianh@hardersoft.com",
"filingId": 1626659,
"folioNumber": "17660",
"inColinOnly": false,
"isCorrected": false,
"isCorrectionPending": false,
"isPaymentActionRequired": false,
"name": "annualReport",
"paymentAccount": "<redacted>",
"paymentStatusCode": "COMPLETED",
"paymentToken": "20003925",
"status": "PENDING",
"submitter": "api-key-account-<redacted>-sandbox"
}
}
}
Curl Request
curl 'https://sandbox.api.connect.gov.bc.ca/business/api/v2/businesses/BC3000069/filings' \
-X POST \
-H 'x-apikey: <redacted>' \
-H 'account-id: <redacted>' \
-H 'User-Agent: PostmanRuntime/7.43.3' \
-H 'Accept: */*' \
-H 'Cache-Control: no-cache' \
-H 'Postman-Token: 7796140f-a024-491e-8fb9-a6cf6a776020' \
-H 'Host: sandbox.api.connect.gov.bc.ca' \
-H 'Connection: keep-alive' \
-H 'Content-Type: application/json' \
--data-raw '{
"filing": {
"header": {
"certifiedBy": "Ian Harder",
"email": "ianh@hardersoft.com",
"name": "annualReport",
"folioNumber": "17660",
"date": "2025-04-25",
"ARFilingYear": "2025",
"accountId": "<redacted>"
},
"business": {
"foundingDate": "2024-03-26T00:00:00+00:00",
"identifier": "BC3000069",
"legalName": "Test Organization Inc.",
"legalType": "BC"
},
"annualReport": {
"annualReportDate": "2025-03-26",
"nextARDate": "2025-03-26",
"offices": {
"registeredOffice": {
"deliveryAddress": {
"streetAddress": "#260, 2300 Carrington Road",
"addressCity": "Westbank",
"addressRegion": "BC",
"addressCountry": "CA",
"postalCode": "V4T 2N6"
},
"mailingAddress": {
"streetAddress": "#260, 2300 Carrington Road",
"addressCity": "Westbank",
"addressRegion": "BC",
"addressCountry": "CA",
"postalCode": "V4T 2N6"
}
},
"recordsOffice": {
"deliveryAddress": {
"streetAddress": "#260, 2300 Carrington Road",
"addressCity": "Westbank",
"addressRegion": "BC",
"addressCountry": "CA",
"postalCode": "V4T 2N6"
},
"mailingAddress": {
"streetAddress": "#260, 2300 Carrington Road",
"addressCity": "Westbank",
"addressRegion": "BC",
"addressCountry": "CA",
"postalCode": "V4T 2N6"
}
}
},
"directors": [
{
"appointmentDate": "2025-04-06",
"cessationDate": null,
"deliveryAddress": {
"addressCity": "Vancouver",
"addressCountry": "CA",
"addressRegion": "BC",
"deliveryInstructions": "",
"id": 4895203,
"postalCode": "V6E 3P3",
"streetAddress": "2010-1055 West Georgia Street",
"streetAddressAdditional": ""
},
"mailingAddress": {
"addressCity": "Vancouver",
"addressCountry": "CA",
"addressRegion": "BC",
"deliveryInstructions": "",
"id": 4895204,
"postalCode": "V6E 3P3",
"streetAddress": "P.O. Box 11140 ",
"streetAddressAdditional": "2010-1055 West Georgia Street"
},
"officer": {
"email": "",
"firstName": "LLOYD",
"id": 2587659,
"lastName": "AASEN",
"middleInitial": "H.",
"partyType": "person"
},
"role": "director"
},
{
"appointmentDate": "2025-04-06",
"cessationDate": null,
"deliveryAddress": {
"addressCity": "Vancouver",
"addressCountry": "CA",
"addressRegion": "BC",
"deliveryInstructions": "",
"id": 4895205,
"postalCode": "V6E 3P3",
"streetAddress": "2010-1055 West Georgia Street",
"streetAddressAdditional": ""
},
"mailingAddress": {
"addressCity": "Vancouver",
"addressCountry": "CA",
"addressRegion": "BC",
"deliveryInstructions": "",
"id": 4895206,
"postalCode": "V6E 3P3",
"streetAddress": "P.O. Box 11140",
"streetAddressAdditional": "2010-1055 West Georgia Street"
},
"officer": {
"email": "",
"firstName": "OLGA",
"id": 2587660,
"lastName": "BATURINA",
"partyType": "person"
},
"role": "director"
}
]
}
}
}'
Follow up to your latest question regarding the redirect behavior:
This redirect behavior is happening because your POST to the filings endpoint does not include the business identifier in the URL. The business identifier is a required field as indicated in the API spec. The postman collection examples for the POST/PUT filings endpoints also include a business identifier in the url.
API spec for POSTing to filings endpoint
Postman collection
I think if this is the problem you have been having, it may resolve some of the issues you may be having with other filings?