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 | xml | xml |
|
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="49670b2f-39a4-4409-b5b1-778e438e4626"><ac:plain-text-body><![CDATA[ | display |
|
|
| [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="d1635a02-a1c4-4f33-9bc4-47305ac96705"><ac:plain-text-body><![CDATA[ | filter | [field] |
|
| [value1,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="4488e0a1-4ce8-4f37-ba66-f091f23b7b28"><ac:plain-text-body><![CDATA[ |
filter | [field] |
|
| [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="82d1f9a2-3038-4600-a804-85750cacd541"><ac:plain-text-body><![CDATA[ | |
filter | [field] |
|
| [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="51fc6146-fc55-45dc-a624-f44efda2f5be"><ac:plain-text-body><![CDATA[ | filter | [field] |
| % | [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="f14c0869-9f4b-4072-83d3-900edd1ab61c"><ac:plain-text-body><![CDATA[ | sort |
|
|
| [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" |