MLS Contract

Contract (/mls/contract)

create

URI

/create

HTTP method

POST

Parameters

contractType (dictionary ContractType)
contractDate (format yyyy-mm-dd HH:mm:ss)
contractExpirationDate (format yyyy-mm-dd HH:mm:ss)
notificationExpirationDate (format yyyy-mm-dd HH:mm:ss)
commissionPercent
commissionPercentType
commissionPercentPeriod
commissionConstant: { amount: (money), currency: PLN}

Result

Array of objects:

{
    "success": true,
    "data": {
        "id": (integer)
    }
}

Description

Contract create

update

URI

/update

HTTP method

POST

Parameters

id (integer)* - id of contract.id
same parameters as create

Result

Array of objects:

{
    "success": true,
}

Description

Contract update

get

URI

/get

HTTP method

GET

Parameters

id* (integer) id of listing.id

Result

Array of objects:

{
 "success": true,
 "data": { (...) }
}

Description

Contract details