My Products
Help
Flashnode-developers
CONTRIBUTOR *

Creating SalesOrder - Response with newly created order number?

by Flashnode-developers

Hi,

 

I am wondering if this is just an issue with the demo environment (testing api-calls via the swagger) or is this normal behaviour?

 

When using POST /controller/api/v1/salesorder endpoint, I don't see the newly created Sales order number in the response. Is this just an issue from the swagger ui or?

 

-Maria

1 REPLY 1
Accepted solution
Yıldırım
VISMA

by Yıldırım

Hi, 

 

we've tested in swagger, 

the "Location" header is available in the Response Headers upon a successful POST request. 

 

POST SalesOrder V1

 

2023-01-02 10_39_57-Visma.net Integrations Documentation.jpg

 

POST SalesOrder V2

swaggerntation.jpg