MLS Listing
Listing (/mls/listing)
list
URI | /list |
|---|---|
HTTP method | GET |
Parameters | swo.id |
Result | Array of listing objects {
//if sessionId provided
inCart: (boolean)
}
|
Description |
|
fullList
URI | /fullList |
|---|---|
HTTP method | GET |
Parameters | swo.id |
Result | Array of listing objects {
//if sessionId provided
inCart: (boolean)
}
|
Description |
|
shortList
URI | /shortList |
|---|---|
HTTP method | GET |
Parameters | swo.id |
Result | Array of listing objects {
//if sessionId provided
inCart: (boolean)
}
|
Description |
|
create
URI | /create |
|---|---|
HTTP method | POST |
Parameters | section* (dictionary Section) |
Result | Id of listing {id: (integer)}
|
Description | Creates listing. |
update
URI | /update |
|---|---|
HTTP method | POST |
Parameters | id (integer)* - id of listing |
Result | {"success":true,"data":{}} |
Description |
|
update (publish in SWO)
URI | /update |
|---|---|
HTTP method | POST |
Parameters | id (integer)* - id of listing |
Result | {"success":true,"data":{}} |
Description |
|
get
URI | /get |
|---|---|
HTTP method | GET |
Parameters | id (integer)* - id of listing |
Result | {"success":true,"data":{}} |
Description | Listing details. |
cancel
URI | /cancel |
|---|---|
HTTP method | POST |
Parameters | id (integer)* - id of listing |
Result |
|
Description | Cancel listing |
close
URI | /close |
|---|---|
HTTP method | POST |
Parameters | id (integer)* - id of listing |
Result |
|
Description | Closes listing with given parameters. |
activate
URI | /activate |
|---|---|
HTTP method | POST |
Access scope | privilege Edit |
Parameters | id (integer)* - id of listing |
Result |
|
Description | Activates listing. |
block
URI | /block |
|---|---|
HTTP method | POST |
Access scope | privilege Edit |
Parameters | id (integer)* - id of listing |
Result |
|
Description | Blocks listing. |