Skip to content

Markets (2.0.0)

The 'Markets' application of the Core API

Languages
Servers
https://{environment}.pigello.io

Marketconfiguration

Operations

Apartmentrequirementprofile

Operations

Apartmentlisting

Operations

Marketapartmentmedia

Operations

Update 'Marketapartmentmedia'

Request

Security
customer_id and application_id and service_id and service_version_id and client_ct and client_object_id and client_secret
Path
pkstringwrite-onlyrequired
Bodyapplication/json
market_mediaobject(Marketmedia)required
market_media.​idstring(uuid)
market_apartmentobject(Marketapartment)required
market_apartment.​idstring(uuid)
orderinteger(int32)[ -2147483648 .. 2147483647 ]
custom_idstring or null<= 128 characters
organizationobject or null(Organization)
curl -i -X PATCH \
  'https://dev.api.pigello.io/markets/media/marketapartmentmedia/{pk}/' \
  -H 'Content-Type: application/json' \
  -H 'X-PIGELLO-APPLICATION-ID: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CLIENT-CT: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CLIENT-ENTITY: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CLIENT-SECRET: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CUSTOMER-ID: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-SERVICE-ID: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-SERVICE-VERSION-ID: YOUR_API_KEY_HERE' \
  -d '{
    "order": -2147483648,
    "market_media": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "market_apartment": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "custom_id": "string",
    "organization": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    }
  }'

Responses

Successful update

Bodyapplication/json
market_mediaobject(Marketmedia)required
market_media.​idstring(uuid)
market_apartmentobject(Marketapartment)required
market_apartment.​idstring(uuid)
idstring(uuid)read-onlyrequired

Additional Validation Information:

Must be unique

orderinteger(int32)[ -2147483648 .. 2147483647 ]
market_media_objanyread-only
custom_idstring or null<= 128 characters
organizationobject or null(Organization)
created_atstring(date-time)read-only
Response
application/json
{ "order": -2147483648, "market_media_obj": null, "market_media": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "market_apartment": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "custom_id": "string", "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "created_at": "2019-08-24T14:15:22Z" }

Create 'Marketapartmentmedia'

Request

Security
customer_id and application_id and service_id and service_version_id and client_ct and client_object_id and client_secret
Bodyapplication/json
market_mediaobject(Marketmedia)required
market_media.​idstring(uuid)
market_apartmentobject(Marketapartment)required
market_apartment.​idstring(uuid)
orderinteger(int32)[ -2147483648 .. 2147483647 ]
custom_idstring or null<= 128 characters
organizationobject or null(Organization)
curl -i -X POST \
  https://dev.api.pigello.io/markets/media/marketapartmentmedia/ \
  -H 'Content-Type: application/json' \
  -H 'X-PIGELLO-APPLICATION-ID: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CLIENT-CT: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CLIENT-ENTITY: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CLIENT-SECRET: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CUSTOMER-ID: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-SERVICE-ID: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-SERVICE-VERSION-ID: YOUR_API_KEY_HERE' \
  -d '{
    "order": -2147483648,
    "market_media": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "market_apartment": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "custom_id": "string",
    "organization": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    }
  }'

Responses

Successful creation

Bodyapplication/json
market_mediaobject(Marketmedia)required
market_media.​idstring(uuid)
market_apartmentobject(Marketapartment)required
market_apartment.​idstring(uuid)
idstring(uuid)read-onlyrequired

Additional Validation Information:

Must be unique

orderinteger(int32)[ -2147483648 .. 2147483647 ]
market_media_objanyread-only
custom_idstring or null<= 128 characters
organizationobject or null(Organization)
created_atstring(date-time)read-only
Response
application/json
{ "order": -2147483648, "market_media_obj": null, "market_media": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "market_apartment": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "custom_id": "string", "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "created_at": "2019-08-24T14:15:22Z" }

Marketmedia

Operations

Marketapartment

Operations