update_contact
연락처 · Windows
효과: 쓰기. 상태: 조건부 제공.
‘조건부 제공’은 도구가 버전, 플랫폼, 권한, 계정 또는 설정에 따라 달라질 수 있음을 뜻하며 모든 설치에서 활성화되었다는 의미는 아닙니다.
Windows
목적
Windows의 Microsoft Outlook 연락처에 있는 연락처를 contact_id나 이름으로 찾아 업데이트합니다. 지정한 이름, 성, 회사는 기존 값을 대체하고, 지정한 전화번호와 이메일은 추가됩니다(기존 것은 남고, 이미 있는 번호나 주소는 건너뜁니다. Outlook은 전화번호 최대 6개와 이메일 최대 3개를 보관하며, 들어가지 않는 것은 not_stored로 반환됩니다). photo_path는 사진을 대체합니다. 아무것도 삭제되지 않습니다. 여러 연락처와 일치하는 이름은 거부되며, contact_id를 고를 수 있는 목록이 반환됩니다. Mac에서와 마찬가지로 메모는 쓰지 않습니다.
필수 입력
이 플랫폼의 스키마에는 필수 입력이 선언되어 있지 않습니다. 선택 항목이나 실행 요구 사항은 여전히 있을 수 있습니다.
권한 및 확인
스키마에 명시적 확인 매개변수가 있습니다. 미리보기를 검토하고 플랫폼 계약에 따라 실제 작업을 승인하세요.
- 이 플랫폼에서는 사용자가 승인한 앱, 계정 및 리소스만 사용하세요. 연결 및 권한 요구 사항은 이 도구의 플랫폼별 설명을 참조하세요. 이 카탈로그는 추가 OAuth 범위나 OS 권한이 있다고 주장하지 않습니다.
영문 정식 기술 스키마 — Windows
{
"properties": {
"company": {
"description": "Company or organization.",
"type": "string"
},
"confirm": {
"description": "Must be true to save.",
"type": "boolean"
},
"contact_id": {
"description": "Exact identifier from outlook_contacts_list/outlook_contacts_search/create_contact. Provide this OR name.",
"type": "string"
},
"emails": {
"description": "Email addresses, as a JSON array or comma-separated.",
"type": "string"
},
"first_name": {
"description": "Given name.",
"type": "string"
},
"last_name": {
"description": "Family name.",
"type": "string"
},
"name": {
"description": "The contact's full name. Provide this OR contact_id; a name that matches several contacts is refused with the list.",
"type": "string"
},
"phones": {
"description": "Phone numbers, as a JSON array or comma-separated (with the country code, e.g. +54 11 5555 0001).",
"type": "string"
},
"photo_path": {
"description": "Absolute path of a local image (PNG, JPEG, GIF or BMP, up to 10 MB) to use as the contact's photo.",
"type": "string"
}
},
"required": [],
"type": "object"
}문서 예시
update_contact 문서 예시입니다. 이 예시를 실행하지 마세요. 표시된 인수는 가상 데이터 세트에 속합니다. 실제 호출 전에 실제 식별자를 확인하고 승인을 받으세요.
{
"company": "Example Co",
"confirm": false,
"name": "Alex Rivera",
"phones": "+1 555 0101"
}