

기계 번역으로 제공되는 번역입니다. 제공된 번역과 원본 영어의 내용이 상충하는 경우에는 영어 버전이 우선합니다.

# 제안에서 교차 참조를 가져오는 방법
<a name="how-to-suggest-cross-references"></a>

`AdditionalFeatures` 파라미터`CrossReferences`에를 포함하여 장소 제안을 위한 타사 공급업체 식별자를 검색합니다.

## 잠재적 사용 사례
<a name="suggest-cross-references-use"></a>
+ **통합 미리 보기:** 사용자가 장소를 선택하기 전에 제안과 함께 타사 식별자를 표시합니다.
+ **미리 가져오기 검토:** 공급업체 IDs 사용하여 사용자가 제안을 찾아볼 때 검토 데이터를 미리 로드합니다.

## 예제
<a name="suggest-cross-references-example"></a>

### 제안에서 상호 참조 가져오기
<a name="suggest-cross-references"></a>

------
#### [ Sample request ]

```
{
    "QueryText": "Starbucks downtown",
    "BiasPosition": [-122.3321, 47.6062],
    "AdditionalFeatures": ["CrossReferences"]
}
```

------
#### [ Sample response ]

```
{
    "ResultItems": [
        {
            "Title": "Starbucks, Seattle, WA",
            "SuggestResultItemType": "Place",
            "Place": {
                "PlaceId": "<Redacted>",
                "PlaceType": "PointOfInterest",
                "CrossReferences": [
                    {
                        "Source": "Yelp",
                        "SourcePlaceId": "starbucks-seattle-12"
                    }
                ]
            }
        }
    ]
}
```

------
#### [ cURL ]

```
curl --request POST \
  --url 'https://places.geo.eu-central-1.amazonaws.com/v2/suggest?key=Your_Key' \
  --header 'Content-Type: application/json' \
  --data '{
    "QueryText": "Starbucks downtown",
    "BiasPosition": [-122.3321, 47.6062],
    "AdditionalFeatures": ["CrossReferences"]
}'
```

------
#### [ AWS CLI ]

```
aws geo-places suggest --key ${YourKey} --query-text "Starbucks downtown" --bias-position -122.3321 47.6062 --additional-features CrossReferences
```

------

## 개발자 팁
<a name="suggest-cross-references-dev-tips"></a>
+ 반환된 식별자를 사용하려면 공급업체의 API 설명서를 참조하세요. 예를 들어 [Yelp 웹 사이트의 Yelp Places API](https://docs.developer.yelp.com/docs/places-intro) 또는 [Tripadvisor 웹 사이트의 Tripadvisor 콘텐츠 API](https://docs.terra.tripadvisor.com/docs/overview)를 참조하세요.