...
Scenario | status code (Using HTTP) | proprietary code (Outside range of HTTP code to avoid confusion) |
---|---|---|
Subscription created for all CMHandle targets without issue (all accepted) | 201 CREATED | 600 SUCCESS |
Subscription partially created and rejected and/or pending | 207 MULTI-STATUS | 601 PARTIAL SUCCESS |
CMHandle targets not found for all CMHandles | 404 NOT FOUND | 603 TARGETS NOT FOUND |
Subscription cannot be applied to any CMHandles | 406 NOT ACCEPTABLE | 604 SUBSCRIPTION NOT APPLICABLE |
Subscription Pending for all CMHandles | 202 ACCEPTED | 602 PENDING |
Code Block | ||||
---|---|---|---|---|
| ||||
{
"data": {
"statusCode" : 202, #HTTP ACCEPTED
"propCode" : 602, #PENDING, name TBD, Only in proposal 2
…
}
}
|