-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Define URL scheme that allows updating #147
Comments
Within that task I think we also should define standardized response messages for POST/PUT requests - event id (for mapping between request items and response statuses), processions status, possible errors, etc... |
As discussed during our previous technical meeting here is a response model used for event POST requests in Nordic Data Exchange: [
{
"EventID": "string",
"AdditionalObjectIDs": [
{
"ObjectID": "string",
"ObjectIDType": 0,
"ObjectHierarchyLevel": 0
}
],
"Status": 0,
"Errors": [
{
"ErrorID": 0,
"ErrorText": "string",
"ErrorFieldName": "string",
"ErrorSource": 0
}
]
}
] As you can this response is an array of object with specific status fields for each posted event.
|
Will be addressed for POST when #154 is resolved. |
Build on the example URL scheme in issue #18 and address the question about use of PATCH/PUT for fields in issue #140 .
Create a URL scheme that includes POST (new resources), PUT and PATCH (update resources)
The text was updated successfully, but these errors were encountered: