selectline-software / selectline-api

Apache License 2.0
24 stars 5 forks source link

POST/Documents/{documentKey}/Successors does not transfer the document #333

Closed ccfrusano closed 1 year ago

ccfrusano commented 1 year ago

Details

If I pass the Positions array filled, I get another error: image

I can manually transfer the document to a delivery note without any problem. Does anybody know why this happens? I can, of course, login and get documents without any problem. I can provide more details if needed. Best,

MatthiasGuse commented 1 year ago

Hi,

i have no idea, why you get an empty document number.

You can try an other way:

Regards

ccfrusano commented 1 year ago

Hi, After some trial and error testing, we've noticed that it works only with those parameters:

{
  "DocumentKindDestination": "L",
  "Positions":[
    {
     "ArticleNumber": "4260137743126de-DE",  
        "Identifier": "08bef183-412d-48d0-8fc9-962669089f2e",
        "Quantity":1.0

    },
    {
     "ArticleNumber": "SET0000750015",  
        "Identifier": "d7deb05a-1304-49d7-81af-dbc68ccf2bda",
        "Quantity":1.0

    }
]
}

So, now it works. I'm gonna close the issue. Thanks. Carlos