-
Notifications
You must be signed in to change notification settings - Fork 2
CMS Basaar API Error codes
Joonas Reinikka edited this page Aug 28, 2014
·
1 revision
<style type="text/css">.ritz .waffle .s14{border-bottom:1px SOLID #000000;border-right:1px SOLID #000000;text-align:right;color:#000000;background-color:#e2b801;font-family:arial,sans,sans-serif;font-size:10pt;vertical-align:top;white-space:nowrap;direction:ltr;padding:2px 3px 2px 3px;}.ritz .waffle .s2{border-bottom:1px SOLID #000000;border-right:1px SOLID #000000;text-align:right;color:#000000;background-color:#ff5f5e;font-family:arial,sans,sans-serif;font-size:10pt;vertical-align:top;white-space:nowrap;direction:ltr;padding:2px 3px 2px 3px;}.ritz .waffle .s0{border-bottom:1px SOLID #000000;border-right:1px SOLID #000000;text-align:left;color:#000000;background-color:#bec0bf;font-family:arial,sans,sans-serif;font-size:10pt;vertical-align:top;white-space:nowrap;direction:ltr;padding:2px 3px 2px 3px;}.ritz .waffle .s15{border-bottom:1px SOLID #000000;border-right:1px SOLID #000000;text-align:left;color:#000000;background-color:#79ae3d;font-family:arial,sans,sans-serif;font-size:10pt;vertical-align:top;white-space:nowrap;direction:ltr;padding:2px 3px 2px 3px;}.ritz .waffle .s3{text-align:left;color:#000000;background-color:#c27ba0;font-family:arial,sans,sans-serif;font-size:10pt;vertical-align:bottom;white-space:nowrap;direction:ltr;padding:2px 3px 2px 3px;}.ritz .waffle .s23{border-bottom:1px SOLID #000000;border-right:1px SOLID #000000;text-align:left;color:#000000;background-color:#ffffff;font-family:arial,sans,sans-serif;font-size:10pt;vertical-align:top;white-space:nowrap;direction:ltr;padding:2px 3px 2px 3px;}.ritz .waffle .s6{border-bottom:1px SOLID #000000;text-align:right;color:#000000;background-color:#c27ba0;font-family:arial,sans,sans-serif;font-size:10pt;vertical-align:bottom;white-space:nowrap;direction:ltr;padding:2px 3px 2px 3px;}.ritz .waffle .s10{border-bottom:1px SOLID #000000;border-right:1px SOLID #000000;text-align:right;color:#000000;background-color:#ffc072;font-family:arial,sans,sans-serif;font-size:10pt;vertical-align:top;white-space:nowrap;direction:ltr;padding:2px 3px 2px 3px;}.ritz .waffle .s20{border-bottom:1px SOLID #000000;border-right:1px SOLID #000000;text-align:right;color:#000000;background-color:#ff2d21;font-family:arial,sans,sans-serif;font-size:10pt;vertical-align:top;white-space:nowrap;direction:ltr;padding:2px 3px 2px 3px;}.ritz .waffle .s16{border-bottom:1px SOLID #000000;border-right:1px SOLID #000000;text-align:right;color:#000000;background-color:#79ae3d;font-family:arial,sans,sans-serif;font-size:10pt;vertical-align:top;white-space:nowrap;direction:ltr;padding:2px 3px 2px 3px;}.ritz .waffle .s9{border-bottom:1px SOLID #000000;border-right:1px SOLID #000000;text-align:left;color:#000000;background-color:#ffc072;font-family:arial,sans,sans-serif;font-size:10pt;vertical-align:top;white-space:nowrap;direction:ltr;padding:2px 3px 2px 3px;}.ritz .waffle .s17{border-bottom:1px SOLID #000000;border-right:1px SOLID #000000;text-align:left;color:#000000;background-color:#55136c;font-family:arial,sans,sans-serif;font-size:10pt;vertical-align:top;white-space:nowrap;direction:ltr;padding:2px 3px 2px 3px;}.ritz .waffle .s7{border-bottom:1px SOLID #000000;border-right:1px SOLID #000000;text-align:left;color:#000000;background-color:#64b2df;font-family:arial,sans,sans-serif;font-size:10pt;vertical-align:top;white-space:nowrap;direction:ltr;padding:2px 3px 2px 3px;}.ritz .waffle .s5{border-bottom:1px SOLID #000000;text-align:left;color:#000000;background-color:#c27ba0;font-family:arial,sans,sans-serif;font-size:10pt;vertical-align:bottom;white-space:nowrap;direction:ltr;padding:2px 3px 2px 3px;}.ritz .waffle .s11{border-bottom:1px SOLID #000000;border-right:1px SOLID #000000;text-align:left;color:#000000;background-color:#9d45b8;font-family:arial,sans,sans-serif;font-size:10pt;vertical-align:top;white-space:nowrap;direction:ltr;padding:2px 3px 2px 3px;}.ritz .waffle .s24{border-bottom:1px SOLID #000000;border-right:1px SOLID #000000;text-align:right;color:#000000;background-color:#ffffff;font-family:arial,sans,sans-serif;font-size:10pt;vertical-align:top;white-space:nowrap;direction:ltr;padding:2px 3px 2px 3px;}.ritz .waffle .s13{border-bottom:1px SOLID #000000;border-right:1px SOLID #000000;text-align:left;color:#000000;background-color:#e2b801;font-family:arial,sans,sans-serif;font-size:10pt;vertical-align:top;white-space:nowrap;direction:ltr;padding:2px 3px 2px 3px;}.ritz .waffle .s12{border-bottom:1px SOLID #000000;border-right:1px SOLID #000000;text-align:right;color:#000000;background-color:#9d45b8;font-family:arial,sans,sans-serif;font-size:10pt;vertical-align:top;white-space:nowrap;direction:ltr;padding:2px 3px 2px 3px;}.ritz .waffle .s21{border-bottom:1px SOLID #000000;border-right:1px SOLID #000000;text-align:left;color:#000000;background-color:#ffe061;font-family:arial,sans,sans-serif;font-size:10pt;vertical-align:top;white-space:nowrap;direction:ltr;padding:2px 3px 2px 3px;}.ritz .waffle .s18{border-bottom:1px SOLID #000000;border-right:1px SOLID #000000;text-align:right;color:#000000;background-color:#55136c;font-family:arial,sans,sans-serif;font-size:10pt;vertical-align:top;white-space:nowrap;direction:ltr;padding:2px 3px 2px 3px;}.ritz .waffle .s19{border-bottom:1px SOLID #000000;border-right:1px SOLID #000000;text-align:left;color:#000000;background-color:#ff2d21;font-family:arial,sans,sans-serif;font-size:10pt;vertical-align:top;white-space:nowrap;direction:ltr;padding:2px 3px 2px 3px;}.ritz .waffle .s4{text-align:right;color:#000000;background-color:#c27ba0;font-family:arial,sans,sans-serif;font-size:10pt;vertical-align:bottom;white-space:nowrap;direction:ltr;padding:2px 3px 2px 3px;}.ritz .waffle .s1{border-bottom:1px SOLID #000000;border-right:1px SOLID #000000;text-align:left;color:#000000;background-color:#ff5f5e;font-family:arial,sans,sans-serif;font-size:10pt;vertical-align:top;white-space:nowrap;direction:ltr;padding:2px 3px 2px 3px;}.ritz .waffle .s8{border-bottom:1px SOLID #000000;border-right:1px SOLID #000000;text-align:right;color:#000000;background-color:#64b2df;font-family:arial,sans,sans-serif;font-size:10pt;vertical-align:top;white-space:nowrap;direction:ltr;padding:2px 3px 2px 3px;}.ritz .waffle .s22{border-bottom:1px SOLID #000000;border-right:1px SOLID #000000;text-align:right;color:#000000;background-color:#ffe061;font-family:arial,sans,sans-serif;font-size:10pt;vertical-align:top;white-space:nowrap;direction:ltr;padding:2px 3px 2px 3px;}</style>
| A | B | C | D | |
|---|---|---|---|---|
1 |
Method | Http-status | Error code | Message |
2 |
POST | 400 | 10 | Error: Product type with slug '{}' could not be found. To get a list of available types, call /api/producttypes |
3 |
PUT | 400 | 10 | Error: Product type with slug '{}' could not be found. To get a list of available types, call /api/producttypes |
4 |
POST | 400 | 11 | Error: Product format with slug '{}' could not be found. To get a list of available formats, call /api/productformats |
5 |
PUT | 400 | 11 | Error: Product format with slug '{}' could not be found. To get a list of available formats, call /api/productformats |
6 |
POST | 400 | 20 | Error: 1-5 subjects has to be specified. To get a list of available subjects, call /api/subjects |
7 |
PUT | 400 | 20 | Error: 1-5 subjects has to be specified. To get a list of available subjects, call /api/subjects |
8 |
POST | 400 | 21 | Error: Please define each subject only once. |
9 |
PUT | 400 | 21 | Error: Please define each subject only once. |
10 |
POST | 400 | 22 | Error: No such subject as in subject field: '{}' To get a list of available subjects, call /api/subjects |
11 |
PUT | 400 | 22 | Error: No such subject as in subject field: '{}' To get a list of available subjects, call /api/subjects |
12 |
POST | 400 | 30 | "Error: More than 10 tags specified. Only 0-10 allowed." |
13 |
PUT | 400 | 30 | "Error: More than 10 tags specified. Only 0-10 allowed." |
14 |
GET | 400 | 40 | Error: The url is empty. Does it contain multiple slashes in row eg. '///'? |
15 |
POST | 400 | 40 | Error: The url is empty. Does it contain multiple slashes in row eg. '///'? |
16 |
PUT | 400 | 40 | Error: The url is empty. Does it contain multiple slashes in row eg. '///'? |
17 |
GET | 404 | 41 | Error: No such collection or materialItem with url: {} |
18 |
PUT | 404 | 41 | Error: No such collection or materialItem with url: {} |
19 |
POST | 400 | 42 | Error: Missing or invalid json-field: '{}' Operation canceled. |
20 |
PUT | 400 | 42 | Error: Missing or invalid json-field: '{}' Operation canceled. |
21 |
POST | 400 | 50 | Error: ContributionDate field was in wrong format. Should be yyyy-mm-dd |
22 |
PUT | 400 | 50 | Error: ContributionDate field was in wrong format. Should be yyyy-mm-dd |
23 |
POST | 400 | 60 | Error: Incorrect format in boolean field: '{}' Should be either 'true' or 'false' |
24 |
POST | 403 | 80 | Error: Can't post at '{}' because an object already exists in this URL. |
25 |
POST | 403 | 81 | Error: Can't post at '{}' because an object with same 'uuid' already exists. uuid has to be unique. |
26 |
POST | 400 | 43 | Error: No JSON data available. |
27 |
POST | 403 | 82 | Error: There is an item in middle of the url-path. Item's can't have children. |
28 |
POST | 403 | 83 | Error: Can't create new root nodes. |
29 |
POST | 403 | 84 | Error: You are not the owner of a node in path. |
30 |
PUT | 403 | 85 | Error: Target is not an item but a collection. Only items can be updated. |
31 |
POST | 400 | 70 | Error: Price can't be negative. |
32 |
||||
33 |
||||
34 |
||||
35 |
||||
36 |
||||
37 |
||||
38 |
||||
39 |