Alternatively a client can create and Link an Entry to a related Entry by leveraging the addressing scheme if the server supports addressing related items. For example, if a server implements the OData URI conventions described in [OData-URI], the address …/Categories(10)/Products points at all the products in the specified category. When a POST request is issued against that products collection (instead of the top-level products collection) the server will create the new product Entry and automatically Link it to the parent category. Clients may combine this method and the previous one to create an Entry that is related to another one implicitly through the relationship implied in the URL, and related to other Entries by explicitly-specified Links in the request body.http://www.odata.org/documentation/odata-version-2-0/operations/
Sunday, October 4, 2015
SharePoint API Research
Seeing whether SharePoint 2013 supports creating related entries by doing the following from the OData 2 spec:
Labels:
OData,
SharePoint
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment