INVALID_PARAMETER for createmember
{"email":"test@hello.com","name":{"lastName":"test","firstName":"user_001","phoneticLastName":"","phonetickFirstName":""},"i18nNames":{"language":"en_US","firstName":"user_001","lastName":"test"},"nickName":"","privateEmail":"","aliasEmails":null,"employmentTypeExternalKey":"","searchable":false,"passwordConfig":{"passwordCreationType":"ADMIN","password":"password"},"Organizations":[{"domainId":10457592,"externalKey":"10457592extkey","email":"","levelExternalKey":"","orgUnits":null}],"telephone":"","cellphone":"","fas":"","location":"","task":"","messenger":{"protocol":"","customProtocol":"","messengerId":""},"birthdayCalendarType":"","birthday":"","hireDate":"","locale":"","timeZone":"","customField":null}
次の応答を返します
{"code":"INVALID_PARAMETER","message":"invalid request","domain":"contact"}
リクエストのどのパラメータが間違っていますか?
コメント5
업데이트 된 답글입니다.
とある会社の従業員
phonetickFirstName→phoneticFirstName
fas→fax
2021.06.25
업데이트 된 답글입니다.
ir 投稿者
データをこれに変更しました
{"email":"test@hello.com","name":{"lastName":"test","firstName":"user_001"},"i18nNames":{"language":"","firstName":"","lastName":""},"passwordConfig":{"passwordCreationType":"ADMIN","password":"password"}}
まだ同じ結果があります
{"code":"INVALID_PARAMETER","message":"invalid request","domain":"contact"}
2021.06.26
업데이트 된 답글입니다.
LINE WORKS 公式アカウント
また、language は空欄では Request できませんので言語コードを指定してください。
firstName または lastName のどちらかは値を入力する必要があります。
例)"i18nNames":[{"language":"ja_JP","firstName":"aaa","lastName":""}]
2021.06.28
업데이트 된 답글입니다.
ir 投稿者
{"email":"test@hello.com","name":{"lastName":"test","firstName":"user_001"},"i18nNames":{"language":"en_US","firstName":"user_001","lastName":"test"},"passwordConfig":{"passwordCreationType":"ADMIN","password":"password"}}
2021.06.28
업데이트 된 답글입니다.
LINE WORKS 公式アカウント
以下のページ下部に Request Example が記載されています。
https://developers.worksmobile.com/jp/document/100300501?lang=ja
こちらを参考に、ご利用のコードと見比べてみてください。
2021.06.28
まだ、解決できませんか?
今すぐ実際に使用しているLINE WORKSユーザーに質問してみましょう。