The following table shows sample URI paths for CRUD operations:
|
CRUD Operation |
HTTP Method |
Noun |
Sample URI Path |
|---|---|---|---|
|
CREATE |
Post |
URI |
/caisd-rest/chg |
|
READ (Multiple) |
GET |
Collection URI |
/caisd-rest/chg |
|
Read (Multiple with Filter) |
GET |
Collection URI |
/caisd-rest/chg?WC=status%3D6001 |
|
Read (Single ID) |
GET |
Entry URI |
/caisd-rest/chg/400001 |
|
Read (Single COMMON_NAME) |
GET |
Entry URI |
/caisd-rest/chg/COMMON_NAME-21 |
|
Read (Single REL_ATTR) |
GET |
Entry URI |
/caisd-rest/chgstat/REL_ATTR-OP |
|
Update |
PUT |
Entry URI |
/caisd-rest/chg/40001 |
|
Delete |
DELETE |
Entry URI |
/caisd-rest/grpmem/400001 |
Important! COMMON_NAME and REL_ATTR are case-sensitive. If you do not use upper case, REST returns the HTTP-404 error code.
|
Copyright © 2013 CA.
All rights reserved.
|
|