My Products
Help
adrianm
PARTNER

Subscription endpoint does not work with tenant id

by adrianm

With tenant id

GET: https://integration.visma.net/API/resources/v1/subscription
Headers: {
    Accept: application/json
    Authorization: <hidden>
}
Response: 400 Bad Request
Headers: {
    Strict-Transport-Security: max-age=31536000; includeSubDomains
    ipp-request-id: 3aa89978-1070-4f6d-8d16-1d9960faf756
    Connection: close
    Date: Tue, 17 Jan 2023 11:41:16 GMT
    Server: Apache/2.4.52    Server: (Debian)    Server: OpenSSL/1.1.1n
    Content-Length: 208
    Content-Type: application/json
}
{"ExceptionType":"IPPException","ExceptionMessage":"Invalid parameter exception: ipp-company-id","ExceptionFaultCode":"12002","ExceptionMessageID":"ec6ffb08-30f6-4b65-baec-46b9c8c08806","ExceptionDetails":""}

 

With token

GET: https://integration.visma.net/API/resources/v1/subscription
Headers: {
    Accept: application/json
    Authorization: <hidden>
    ipp-application-type: Visma.net Financials
    ipp-company-id: 4457075
}
Response: 200 OK
Headers: {
    Strict-Transport-Security: max-age=31536000; includeSubDomains
    ipp-request-id: e7d040b7-99e9-4774-a973-f3dc4d856e9f
    Keep-Alive: timeout=15, max=100
    Connection: Keep-Alive
    Date: Tue, 17 Jan 2023 11:46:45 GMT
    Server: Apache/2.4.52    Server: (Debian)    Server: OpenSSL/1.1.1n
    Content-Length: 2
    Content-Type: application/json
}
[]
4 REPLIES 4

by David Tandberg-Johansen

Hi,

 

Has Visma verified that all the endpints at integration.visma.net/API/controller/api/(V1/V2) work with Tenant based Authentication? 

 

If not all works with Tenant based Authentication, does it exists a list of which doenst support it?

adrianm
PARTNER

by adrianm

Thanks, I hope you fix the other endpoints not working with tenant id as well.

by Yıldırım

Hi Adrian, do you happen to have the other erroneous endpoints ? 

by Yıldırım

Hello, this issue has been registered to be reviewed.