Hello,
I'm struggling to POST a new register with the REST API.
I tried with my SPE class, representation and Tables.
Also tried with SHIPMENT, wich have edit facet.
If I set it with no collections, it creates the header, but if I try to create with lines, it answer Mandatory link or No lines where introduced
{
"BPRNUM": "",
"SHHSHD": [
{
"CTRLIN": 1000,
"CTRNUM": "CTR1603-00000015",
"POHNUM": "POFR0110077",
"POPLIN": 1000,
"POQSEQ": 1,
"SHIPLIN": 1000
},
{
"CTRLIN": 2000,
"CTRNUM": "CTR1603-00000015",
"POHNUM": "POFR0110077",
"POPLIN": 2000,
"POQSEQ": 1,
"SHIPLIN": 2000
}
],
"SHIPNUM": "SHP1603-00000020"
}
Thanks