メインコンテンツまでスキップ

Create a contact.

POST/api/v1/contactscontacts:write
注記

このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。

The organisation must exist. A name of -Root- is refused: it is the organisation's own details row.

スコープcontacts:write
非同期いいえ
MCP ツールcreate_contact
Portal の権限create_contacts

パラメーター​

名前場所型必須説明
Docwize-Versionheaderstring (date)任意
Idempotency-Keyheaderstring任意max 255

リクエスト本文​

Content-Type型
application/jsonContactCreateInput

応答​

ステータス説明本文
201Success.application/json Contact または object
400invalid_version, malformed_jsonapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
409idempotency_in_progressapplication/problem+json Problem
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422idempotency_key_reused, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

エラー​

この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。

スキーマ​

Contact​

フィールド型必須説明
contact_idstring必須
created_atstring (date-time) または null必須When the contact was entered.
created_by_usernamestring または null必須The username of whoever entered the contact (the Portal's Entered By); null when none was recorded.
detailsContactDetails必須
namestring または null必須
organisation_idstring必須
updated_atstring (date-time) または null必須When the contact was last changed; null when it never was.

ContactCreateInput​

フィールド型必須説明
detailsContactDetailsInput または null任意
namestring必須
organisation_idstring必須

ContactDetails​

フィールド型必須説明
business_typestring または null必須
categorystring または null必須
category_statusstring または null必須
date_of_birthstring (date) または null必須
designationstring または null必須
emailstring または null必須
f1string または null必須
f10string または null必須
f11string または null必須
f12string または null必須
f13string または null必須
f14string または null必須
f15string または null必須
f2string または null必須
f3string または null必須
f4string または null必須
f5string または null必須
f6string または null必須
f7string または null必須
f8string または null必須
f9string または null必須
faxstring または null必須
genderstring または null必須
id_numberstring または null必須
initialsstring または null必須
mobilestring または null必須
mobile_2string または null必須
notesstring または null必須
phonestring または null必須
phone_homestring または null必須
physical_addressstring または null必須
physical_codestring または null必須
physical_countrystring または null必須
postal_address_1string または null必須
postal_address_2string または null必須
postal_address_3string または null必須
postal_codestring または null必須
postal_countrystring または null必須
websitestring または null必須

ContactDetailsInput​

フィールド型必須説明
business_typestring または null任意
categorystring または null任意
category_statusstring または null任意
date_of_birthstring (date) または null任意
designationstring または null任意
emailstring または null任意
f1string または null任意
f10string または null任意
f11string または null任意
f12string または null任意
f13string または null任意
f14string または null任意
f15string または null任意
f2string または null任意
f3string または null任意
f4string または null任意
f5string または null任意
f6string または null任意
f7string または null任意
f8string または null任意
f9string または null任意
faxstring または null任意
genderstring または null任意
id_numberstring または null任意
initialsstring または null任意
mobilestring または null任意
mobile_2string または null任意
notesstring または null任意
phonestring または null任意
phone_homestring または null任意
physical_addressstring または null任意
physical_codestring または null任意
physical_countrystring または null任意
postal_address_1string または null任意
postal_address_2string または null任意
postal_address_3string または null任意
postal_codestring または null任意
postal_countrystring または null任意
websitestring または null任意