Adjusted INRAE-graph example to use direct soldBy property, instead of going through SaleSession > Coordination.

This commit is contained in:
RaggedStaff
2024-07-09 13:08:16 +01:00
parent f6d2142a6e
commit 663207140c

View File

@@ -181,17 +181,9 @@ paths:
"@id": https://test.host/api/dfc/Enterprises/10000/Orders/10001 , "@id": https://test.host/api/dfc/Enterprises/10000/Orders/10001 ,
"@type": dfc-b:Order , "@type": dfc-b:Order ,
dfc-b:date: "2024-06-25" , # Order Date dfc-b:date: "2024-06-25" , # Order Date
dfc-b:belongsTo: https://test.host/api/dfc/Enterprises/10000/SaleSessions/10002 , dfc-b:soldBy: https://test.host/api/dfc/Enterprises/10050 ,
dfc-b:hasPart: https://test.host/api/dfc/Enterprises/10000/Orders/10001/OrderLines/10001-01 , dfc-b:hasPart: https://test.host/api/dfc/Enterprises/10000/Orders/10001/OrderLines/10001-01 ,
dfc-b:hasPart: https://test.host/api/dfc/Enterprises/10000/Orders/10001/OrderLines/10001-02 dfc-b:hasPart: https://test.host/api/dfc/Enterprises/10000/Orders/10001/OrderLines/10001-02
},
{
"@id": https://test.host/api/dfc/Enterprises/10050/SaleSessions/10002 ,
"@type": dfc-b:SaleSession ,
dfc-b:objectOf: {
"@type": dfc-b:Coordination ,
dfc-b:coordinatedBy: http://test.host/api/dfc/Enterprises/10050 # Distributor Enterprise
}
} }
] ]
'404': '404':