PlatinaMalls API (1.0.0)

Download OpenAPI specification:Download

License: Boldright, Inc.

概要E/h2>

プラチナモール以外ECMSE以下、外部CMSEで管琁EてぁEスポットと、Eラチナで管琁EてぁEスポットを連携するためのAPIです、Ebr>プラチナモールをご利用のお客様において施設WebサイトECMSめEの他E管琁EスチEをお持ちの場合、このAPIをご活用ぁEだくことでプラチナモールの施設スポット情報と連携し、外部Webサイトとプラチナモールの間でシームレスな惁E更新が可能となります、E/p>

Overview

チEEタ連携の流れ

  1. スポットを登録する
  2. スポットE多言語情報を登録する
  3. スポットE混雑状況を登録する
  4. スポットE惁Eを更新する
  5. スポットを非E開にする
  6. スポットを削除する

1. スポットを登録する

外部CMSでスポットを登録した際などに、スポット登録APIを呼び出してください、E

対象マップを持EするEチEEスラグはマップURLからご確認いただけます、Ebr>EEチEEURLぁEhttps://platinumaps.jp/d/XXXXXXXX の場合!Ecode>XXXXXXXXがEチEEスラグを指します。!E/p>

登録の際に忁E頁EとなるフロアID FloorId、カスタム頁EID CustomPropertyId、カチEリID CategoryId、ピクトグラムID PictgramIdはプラチナモールの管琁E面にてご確認ください、E/p>

2. スポットE多言語情報を登録する

登録したスポットに対して、例えば英語EチEEタを追加したぁEなどは、スポット更新APIを呼び出してください、Ebr>何語EチEEタであるかE locale で持Eします。!Ecode>ja:日本誁E| en:英誁E| zh-Hans:簡体孁E| ko:韓国誁E| zh-Hant:繁体孁E| fr:フランス誁E| es:スペイン語!E/p>

※ 言語によらずE通である頁EE侁E 緯度、経度などEも同時に更新対象となるため、更新したくなぁEE頁Eに対しては、スポット詳細取得APIで取得した値を設定してください、E/p>

3. スポットE混雑状況を登録する

登録したスポットE混雑状況を登録またE更新する場合E、スポット混雑状況更新APIを呼び出してください、E/p>

4. スポットE惁Eを更新する

外部CMSでスポットを更新した際などに、スポット更新APIを呼び出してください、E/p>

5. スポットを非E開にする

外部CMSでスポットを一時的に削除した際などE削除からの取り戻しが可能である場合)に、スポット更新APIを利用して、スポットEチEEタを維持したまま、E公開状態にすることができます、Ebr>再E公開する場合もスポット更新APIを利用してください、E/p>

6. スポットを削除する

外部CMSでスポットを完Eに削除した際などに、スポット削除APIを呼び出してください、E/p>

認証方弁E/h2>

弊社より発行されたAPIキーをHTTPヘッダの x-api-key に設定してください、E/p>

spots

スポット情報を扱ぁEPIカチEリです、E/p>

スポット一覧

持EしたEチEEIDにおけるスポットE一覧を返却します、E/p>

Authorizations:
apiKey
path Parameters
mapSlug
required
string
Example: example_map

マップスラグ

query Parameters
locale
required
string (LocaleType)
Example: locale=ja

取得対象の言誁Eja:日本誁E| en:英誁E| zh-Hans:簡体孁E| ko:韓国誁E| zh-Hant:繁体孁E| fr:フランス誁E| es:スペイン誁E

Responses

Response samples

Content type
application/json
[
  • [
    ]
]

スポット登録

スポットを新規登録します、E/p>

Authorizations:
apiKey
path Parameters
mapSlug
required
string
Example: example_map

マップスラグ

query Parameters
locale
required
string (LocaleType)
Example: locale=ja

取得対象の言誁Eja:日本誁E| en:英誁E| zh-Hans:簡体孁E| ko:韓国誁E| zh-Hant:繁体孁E| fr:フランス誁E| es:スペイン誁E

Request Body schema: application/json

登録するスポットE惁E

Array of objects <= 10 characters

スポットEバナー惁E

thumbnailImageUrl
string (url) <= 2000 characters
logoImageUrl
string (url) <= 2000 characters
markerImageUrl
string (url) <= 2000 characters
categoryIds
required
Array of integers <int64> (id) [ items <int64 > ]

カチEリー一覧

pictgramIds
Array of integers <int64> (id) [ items <int64 > ]

ピクトグラム一覧

tags
Array of strings

ハッシュタグ一覧EE頭の # なし!E/p>

shareType
required
integer <int32> (ShareType)
Enum: 1 3 9

1:公閁E| 3:非E閁E| 9:削除

latitude
required
number

緯度E省略時、住所をジオコーチEングEE/p>

longitude
required
number

経度E省略時、住所をジオコーチEングEE/p>

phoneNumber
string <= 30 characters

電話番号

effectiveFrom
string <date-time> (datetime)
effectiveTo
string <date-time> (datetime)
heldFrom
string <date-time> (datetime)
heldTo
string <date-time> (datetime)
postCode
string <= 7 characters

郵便番号Eハイフン不要EE/p>

prefectureCode
string <= 5 characters

都道府県コーチE/p>

title
required
string <= 100 characters

タイトル

titleKana
string <= 200 characters

タイトル検索用チEEタEかな・カナなどEE/p>

subTitle
string <= 100 characters

サブタイトルめEャチEコピE

description
string <= 2000 characters

スポット説明テキスチE/p>

address
string <= 200 characters

住所EフリーチEスト!EまたE 住所ライン1

address2
string <= 100 characters

住所ライン2

webUrl
string (url) <= 2000 characters
businessHour
string <= 500 characters

営業時間

holiday
string <= 500 characters

休業日

parking
string <= 500 characters

駐車場

access
string <= 500 characters

交通手段、アクセス惁E

fee
string <= 500 characters

入場料など料

paymentMethod
string <= 500 characters

利用可能な支払い方況E/p>

Array of objects
graphicMapFloorId
required
integer <int64> (id)
floorDescription
string <= 500 characters

フロア用説昁E/p>

listDescription
string <= 500 characters

リスト用説昁E/p>

object (SnsLinks)

吁ESNSのリンク

Responses

Request samples

Content type
application/json
{
  • "banners": [],
  • "thumbnailImageUrl": "https://floormap.digital/",
  • "logoImageUrl": "https://floormap.digital/",
  • "markerImageUrl": "https://floormap.digital/",
  • "categoryIds": [
    ],
  • "pictgramIds": [
    ],
  • "tags": [
    ],
  • "shareType": 1,
  • "latitude": "99.99999999",
  • "longitude": "99.99999999",
  • "phoneNumber": "99-9999-9999",
  • "effectiveFrom": "2024-04-01T12:00:00.000Z",
  • "effectiveTo": "2024-04-01T12:00:00.000Z",
  • "heldFrom": "2024-04-01T12:00:00.000Z",
  • "heldTo": "2024-04-01T12:00:00.000Z",
  • "postCode": 1600023,
  • "prefectureCode": "JP-13",
  • "title": "サンプルスポット名称",
  • "titleKana": "サンプルスポッチEquot;,
  • "subTitle": "スポットEサブタイトルです、Equot;,
  • "description": "スポットE説明テキストです、Equot;,
  • "address": "東京都新宿区西新宿3-9-7",
  • "address2": "フロンチEア新宿タワー 4F",
  • "businessHour": "月〜曁E10:00 - 19:00",
  • "holiday": "土曜・日曜E祝祭日",
  • "parking": "近隣にコインパEキングあり",
  • "access": "JR新宿駁E口より徒歩10刁Equot;,
  • "fee": "入場料 大人EE000冁E小人EE00冁Equot;,
  • "paymentMethod": "現金、クレジチEカード、交通系ICカード、PayPay、QUICPay",
  • "customProperties": [
    ],
  • "graphicMapFloorId": 42,
  • "floorDescription": "フロア用説明テキストです。場所の目印などがEります、Equot;,
  • "listDescription": "リスト用説明テキストです。店Eの説明などがEります、Equot;,
  • "sns": {}
}

Response samples

Content type
application/json
{
  • "spotId": 42,
  • "createdAt": "2024-04-01T12:00:00.000Z"
}

スポット詳細取征E!-- -->

スポットE詳細惁Eを返却します、E/p>

Authorizations:
apiKey
path Parameters
mapSlug
required
string
Example: example_map

マップスラグ

spotId
required
integer <int64> (id)
Example: 42

スポッチED

query Parameters
locale
required
string (LocaleType)
Example: locale=ja

取得対象の言誁Eja:日本誁E| en:英誁E| zh-Hans:簡体孁E| ko:韓国誁E| zh-Hant:繁体孁E| fr:フランス誁E| es:スペイン誁E

Responses

Response samples

Content type
application/json
{
  • "spotId": 42,
  • "locale": "ja",
  • "originalLocale": "ja",
  • "createdAt": "2024-04-01T12:00:00.000Z",
  • "updatedAt": "2024-04-01T12:00:00.000Z",
  • "banners": [],
  • "thumbnailImageUrl": "https://floormap.digital/",
  • "logoImageUrl": "https://floormap.digital/",
  • "markerImageUrl": "https://floormap.digital/",
  • "markerIconWidth": 512,
  • "markerIconHeight": 512,
  • "categoryIds": [
    ],
  • "pictgramIds": [
    ],
  • "tags": [
    ],
  • "shareType": 1,
  • "latitude": "99.99999999",
  • "longitude": "99.99999999",
  • "phoneNumber": "99-9999-9999",
  • "effectiveFrom": "2024-04-01T12:00:00.000Z",
  • "effectiveTo": "2024-04-01T12:00:00.000Z",
  • "heldFrom": "2024-04-01T12:00:00.000Z",
  • "heldTo": "2024-04-01T12:00:00.000Z",
  • "postCode": 1600023,
  • "prefectureCode": "JP-13",
  • "title": "サンプルスポット名称",
  • "titleKana": "サンプルスポッチEquot;,
  • "subTitle": "スポットEサブタイトルです、Equot;,
  • "description": "スポットE説明テキストです、Equot;,
  • "address": "東京都新宿区西新宿3-9-7",
  • "address2": "フロンチEア新宿タワー 4F",
  • "businessHour": "月〜曁E10:00 - 19:00",
  • "holiday": "土曜・日曜E祝祭日",
  • "parking": "近隣にコインパEキングあり",
  • "access": "JR新宿駁E口より徒歩10刁Equot;,
  • "fee": "入場料 大人EE000冁E小人EE00冁Equot;,
  • "paymentMethod": "現金、クレジチEカード、交通系ICカード、PayPay、QUICPay",
  • "customProperties": [
    ],
  • "graphicMapFloorId": 42,
  • "floorDescription": "フロア用説明テキストです。場所の目印などがEります、Equot;,
  • "listDescription": "リスト用説明テキストです。店Eの説明などがEります、Equot;,
  • "sns": {}
}

スポット更新

持EしたスポットE惁Eを更新します、E/p>

Authorizations:
apiKey
path Parameters
mapSlug
required
string
Example: example_map

マップスラグ

spotId
required
integer <int64> (id)
Example: 42

スポッチED

query Parameters
locale
required
string (LocaleType)
Example: locale=ja

取得対象の言誁Eja:日本誁E| en:英誁E| zh-Hans:簡体孁E| ko:韓国誁E| zh-Hant:繁体孁E| fr:フランス誁E| es:スペイン誁E

Request Body schema: application/json
spotId
required
integer <int64> (id)
locale
required
string (LocaleType)

ja:日本誁E| en:英誁E| zh-Hans:簡体孁E| ko:韓国誁E| zh-Hant:繁体孁E| fr:フランス誁E| es:スペイン誁E/p>

Array of objects <= 10 characters

スポットEバナー惁EE削除するバナーの惁Eは含めなぁEE/p>

thumbnailImageUrl
string (url) <= 2000 characters
logoImageUrl
string (url) <= 2000 characters
markerImageUrl
string (url) <= 2000 characters
categoryIds
required
Array of integers <int64> (id) [ items <int64 > ]

カチEリー一覧

pictgramIds
Array of integers <int64> (id) [ items <int64 > ]

ピクトグラム一覧

tags
Array of strings

ハッシュタグ一覧EE頭の # 不要EE/p>

shareType
required
integer <int32> (ShareType)
Enum: 1 3 9

1:公閁E| 3:非E閁E| 9:削除

latitude
number

緯度E省略時、住所をジオコーチEングEE/p>

longitude
number

経度E省略時、住所をジオコーチEングEE/p>

phoneNumber
string <= 30 characters

電話番号

effectiveFrom
string <date-time> (datetime)
effectiveTo
string <date-time> (datetime)
heldFrom
string <date-time> (datetime)
heldTo
string <date-time> (datetime)
postCode
string <= 7 characters

郵便番号Eハイフン不要EE/p>

prefectureCode
string <= 5 characters

都道府県コーチE/p>

title
required
string <= 100 characters

タイトル

titleKana
string <= 200 characters

タイトル検索用チEEタEかな・カナなどEE/p>

subTitle
string <= 100 characters

サブタイトルめEャチEコピE

description
string <= 2000 characters

スポット説明テキスチE/p>

address
required
string <= 200 characters

住所EフリーチEスト!EまたE 住所ライン1

address2
string <= 100 characters

住所ライン2

webUrl
string (url) <= 2000 characters
businessHour
string <= 500 characters

営業時間

holiday
string <= 500 characters

休業日

parking
string <= 500 characters

駐車場

access
string <= 500 characters

交通手段、アクセス惁E

fee
string <= 500 characters

入場料など料

paymentMethod
string <= 500 characters

利用可能な支払い方況E/p>

Array of objects
graphicMapFloorId
integer <int64> (id)
floorDescription
string <= 500 characters

フロア用説昁E/p>

listDescription
string <= 500 characters

リスト用説昁E/p>

object (SnsLinks)

吁ESNSのリンク

Responses

Request samples

Content type
application/json
{
  • "spotId": 42,
  • "locale": "ja",
  • "banners": [],
  • "thumbnailImageUrl": "https://floormap.digital/",
  • "logoImageUrl": "https://floormap.digital/",
  • "markerImageUrl": "https://floormap.digital/",
  • "categoryIds": [
    ],
  • "pictgramIds": [
    ],
  • "tags": [
    ],
  • "shareType": 1,
  • "latitude": "99.99999999",
  • "longitude": "99.99999999",
  • "phoneNumber": "99-9999-9999",
  • "effectiveFrom": "2024-04-01T12:00:00.000Z",
  • "effectiveTo": "2024-04-01T12:00:00.000Z",
  • "heldFrom": "2024-04-01T12:00:00.000Z",
  • "heldTo": "2024-04-01T12:00:00.000Z",
  • "postCode": 1600023,
  • "prefectureCode": "JP-13",
  • "title": "サンプルスポット名称",
  • "titleKana": "サンプルスポッチEquot;,
  • "subTitle": "スポットEサブタイトルです、Equot;,
  • "description": "スポットE説明テキストです、Equot;,
  • "address": "東京都新宿区西新宿3-9-7",
  • "address2": "フロンチEア新宿タワー 4F",
  • "businessHour": "月〜曁E10:00 - 19:00",
  • "holiday": "土曜・日曜E祝祭日",
  • "parking": "近隣にコインパEキングあり",
  • "access": "JR新宿駁E口より徒歩10刁Equot;,
  • "fee": "入場料 大人EE000冁E小人EE00冁Equot;,
  • "paymentMethod": "現金、クレジチEカード、交通系ICカード、PayPay、QUICPay",
  • "customProperties": [
    ],
  • "graphicMapFloorId": 42,
  • "floorDescription": "フロア用説明テキストです。場所の目印などがEります、Equot;,
  • "listDescription": "リスト用説明テキストです。店Eの説明などがEります、Equot;,
  • "sns": {}
}

Response samples

Content type
application/json
{
  • "spotId": 42,
  • "updatedAt": "2024-04-01T12:00:00.000Z"
}

スポット削除

持Eしたスポットを削除します、E/p>

Authorizations:
apiKey
path Parameters
mapSlug
required
string
Example: example_map

マップスラグ

spotId
required
integer <int64> (id)
Example: 42

スポッチED

Responses

Response samples

Content type
application/json
{
  • "code": 400,
  • "message": "冁Eエラーが発生しました、Equot;
}

スポット混雑状況更新

スポットE混雑状況を更新します、E/p>

Authorizations:
apiKey
path Parameters
mapSlug
required
string
Example: example_map

マップスラグ

spotId
required
integer <int64> (id)
Example: 42

スポッチED

Request Body schema: application/json

混雑状況E/p>

spotId
required
number

スポッチED

required
object (UpdateCrowdStatus)

Responses

Request samples

Content type
application/json
{}

Response samples

Content type
application/json
{
  • "code": 400,
  • "message": "冁Eエラーが発生しました、Equot;
}

スポット征E時間状況更新

スポットE征E時間状況を更新します、E/p>

Authorizations:
apiKey
path Parameters
mapSlug
required
string
Example: example_map

マップスラグ

spotId
required
integer <int64> (id)
Example: 42

スポッチED

Request Body schema: application/json

征E時間状況E/p>

spotId
required
number

スポッチED

object (UpdateWaitingTimeStatus)

Responses

Request samples

Content type
application/json
{
  • "spotId": 123,
  • "WaitingTimeStatus": {
    }
}

Response samples

Content type
application/json
{
  • "code": 400,
  • "message": "冁Eエラーが発生しました、Equot;
}

スポット一覧差刁E征E!-- -->

持Eした日時以降に更新のあったスポットE惁Eを返却します、E/p>

Authorizations:
apiKey
path Parameters
mapSlug
required
string
Example: example_map

マップスラグ

query Parameters
from
required
string <date-time> (datetime)
Example: from=2024-04-01T12:00:00.000Z

更新日晁EROM

to
string <date-time> (datetime)
Example: to=2024-04-01T12:00:00.000Z

更新日時TO

Responses

Response samples

Content type
application/json
{
  • "spots": [
    ]
}

floors

フロア惁Eを扱ぁEPIカチEリです、E/p>

フロア一覧

持EしたEチEEIDにおけるフロアの一覧を返却します、E/p>

Authorizations:
apiKey
path Parameters
mapSlug
required
string
Example: example_map

マップスラグ

Responses

Response samples

Content type
application/json
[
  • {
    },
  • {
    },
  • {
    }
]