...
- Since the DMI Plugin always needs an request body for at least the 'Additional Parameters' CPS_NCMP wil have to use PUT or POST to make a any (read or) write request.
- The actual operation will be determine with 'operation' field in body. If this is not supplied 'read' wil be assumed as the default operation irrespective of the HTTP method used
Operation Mapping
Client → CPS-NCMP | CPS-NCMP → DMI-Plugin | DMI-Plugin → SDNC-C | ||
---|---|---|---|---|
RESTful Method | RESTful Method | Requestbody.operation | RESTful Method | |
1 | GET | POST | "read" | GET |
2 | POST | POST | "create" | POST |
3 | PUT | POST | "update" | PUT |
4 | PATCH | POST | "patch" | PATCH |
5 | DELETE | POST | "delete" | DELETE |
...