Cheat Sheet - Concepts Outlined in this Tutorial
Method
To help you get started with web service, here's a little memo of techniques used in this tutorial.
|
|
|
|
| Method parameters |
|
|
| |||
---|---|---|---|---|---|---|---|---|---|---|---|
|
| REST |
| Method |
| url | resource | id | postXmlxml | putXml |
|
C | POST |
| add |
| X | X |
| X |
|
| |
R | GET |
| get |
| X | X | X |
|
|
| |
U | UPDATE |
| edit |
| X | X | X |
| X |
| |
D | DELETE |
| delete |
| X | X | X |
|
|
|
If the URL parameter is specified, no other setting can be used and vice versa.
Options
Key | Key suffix |
| prefix | Value | Suffix | Description | ||
---|---|---|---|---|---|---|---|---|
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1e9ff4fa-89a0-49d8-95b8-8d7f61b71d0e"><ac:plain-text-body><![CDATA[ | display |
|
|
| [enEN:field1,field2 …] |
| Only display fields in brackets | ]]></ac:plain-text-body></ac:structured-macro> |
display |
|
|
| full |
| Display all fields |
Key | Key suffix |
| prefix | Value | Suffix | Description | |||
---|---|---|---|---|---|---|---|---|---|
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4db3d409-abe5-426f-a3ac-46b607322246"><ac:plain-text-body><![CDATA[ | filter | [enEN: field] |
|
| [value1enEN:,value2] |
| Filter "field" with value between '"value1" and "value2" | ]]></ac:plain-text-body></ac:structured-macro> | <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="7b3c4098-a1bc-42b3-ab93-05593d8006e9"><ac:plain-text-body><![CDATA[ |
filter | [enEN: field] |
|
| [enEN:value] |
| Filter field with the value "value" | ]]></ac:plain-text-body></ac:structured-macro> | <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="72073b58-ed31-4eb6-a200-7db30cff9ad6"><ac:plain-text-body><![CDATA[ | |
filter | [enEN: field] |
|
| [enEN:value1,|value2…] |
| Filter fields for multiple values specified between brackets | ]]></ac:plain-text-body></ac:structured-macro> | ||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="7114c640-7b7e-4460-856c-0de4205c2d38"><ac:plain-text-body><![CDATA[ | filter | [enEN:field] |
| % | [enEN:value] | % | Filer Filter "columns" for values containing "value" | ]]></ac:plain-text-body></ac:structured-macro> |
Key | Key suffix |
| prefix | Value | Suffix | Description | ||
---|---|---|---|---|---|---|---|---|
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="32188c4a-f8ee-4923-b5b0-2ce4f0fa567b"><ac:plain-text-body><![CDATA[ | sort |
|
|
| [enEN:field1_ASC,field2_DESC,field3_ASC] |
| Sort by field with the suffix _ASC _DESC or in the order | ]]></ac:plain-text-body></ac:structured-macro> |
sort |
|
|
| full |
| show all fields |
Key | Key suffix |
| prefix | Value | Suffix | Description |
---|---|---|---|---|---|---|
limit |
|
|
| Number |
| Limit the result to « Nombre »"Nunmber" |
limit |
|
|
| Starting index, NombreNumber |
| Limit the result to "Number" from the "Index" |