У меня проблемы с отправкой моего вложения. Это выглядит так:
{
"filename": "Test.txt",
"subject": "Test",
"mimetype": "text/plain",
"documentbody": "SABlAGwAbABvACAAVwBvAHIAbABkAA==",
"objectid@odata.bind": "/accounts(3ba2f6ab-3849-e811-a83b-000d3a2b2acb)",
"isdocument": true
}
Я получаю ошибку:
"error": {
"code": "0x0",
"message": "An error occurred while validating input parameters: Microsoft.OData.ODataException: An undeclared property 'objectid' which only has property annotations in the payload but no property value was found in the payload. In OData, only declared navigation properties and declared named streams can be represented as properties without values."
Это согласно документации, найденной здесь: https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/webapi/create-entity-web-api#associate -entity-records-on-create
Любая подсказка, что здесь не так? Я неправильно определяю соотношение между аннотацией и учетной записью?