Connector
Upsert
Inserts or updates a connector.
Name | Data Type | Default | Required |
---|---|---|---|
SourceApp | nvarchar(100) | ✔️ | |
SendAppointmentToWebService | bit | False | |
WebServiceAddress | bit | True | ✔️ |
BackOfficeSystem | INT | ✔️ | |
Login | NVARCHAR (50) | ||
Password | NVARCHAR (MAX) | ||
CrmOrganizationName | NVARCHAR (100) | ||
SendTimeAsUTC | BIT | True |
- Import
- API
- This endpoint is available in the import API endpoint
/import
via the proceduremboc_upsertConnector
. - Example body:
[
{
"StoredProcedureName": "mboc_upsertConnector",
"ParameterNames": ["SourceApp","SendAppointmentToWebService", "WebServiceAddress", "BackOfficeSystem", "Login", "Password"],
"ParameterValues": ["MYSOURCEAPP","true", "https://myendpoint.domain","4","test_user","test_password"]
}
]
- Endpoint:
/connector
- Supported HTTP methods: POST (create)
- Example body:
{
"SourceApp": "MYSOURCEAPP",
"Enabled": true,
"Uri": "https://myendpoint.domain",
"Login": "test_user",
"Password": "test_password",
"BackOfficeSystem": 2
}
Delete
Removes a connector.
Name | Data Type | Default | Required |
---|---|---|---|
SourceApp | nvarchar(100) | ✔️ |
- Import
- API
- This endpoint is available in the import API endpoint
/import
via the proceduremboc_deleteConnector
. - Example body:
[
{
"StoredProcedureName": "mboc_deleteConnector",
"ParameterNames": ["SourceApp"],
"ParameterValues": ["MYSOURCEAPP"]
}
]
This endpoint is not yet available in the REST API.
API reference
Back-Office System
The back office type supports the following values:
- 1: NAV
- 2: Business Central
- 3: Business Central OAuth
- 4: Webhook