SMPの企業情報を更新するためのAPIです。
company.put
| メソッド | URL |
|---|---|
| PUT | https://{domainname}/services/rest/company |
なし
| パラメータ名 | 値 | 内容 |
|---|---|---|
| X-HTTP-Method-Override | PUT | X-HTTP-Method-Override を使用して、HTTPメソッドを上書きします。 |
★ エレメント名:Company ★ データ型:CompanyType
| カラム名 | データ型 | 内容 |
|---|---|---|
| Id | string | 企業ID ※更新キーとして使用します。企業IDは更新できません。 |
| Name | string | 企業名 |
| NameKa | string | 企業名フリガナ |
| Zip1 | string | 郵便番号1 |
| Zip2 | string | 郵便番号2 |
| Zip3 | string | 郵便番号3 |
| Country | CountryType | 国名 CountryId : CountryName |
| Prefecture | PrefectureType | 都道府県IDと都道府県名の対応表参照 |
| Address1 | string | 住所1 |
| Address2 | string | 住所2 |
| Address3 | string | 住所3 |
| Address4 | string | 住所4 |
| Address5 | string | 住所5 |
| Tel | string | 電話番号 |
| SubTel | string | 電話番号予備 |
| Fax | string | ファックス番号 |
| EmailDomain | string | メールドメイン |
| DateOfEstablishment | string | 設立 |
| Url | string | URL |
| Attribute{aid} | ー | 追加項目 追加項目について/追加項目のデータ型参照 |
| コード | 内容 |
|---|---|
| 200 | 正常終了 |
なし
なし
<?xml version='1.0' encoding='UTF-8'?>
<Company xmlns="http://smartseminar.jp/">
<Id>2116</Id>
<Attribute54>1234567890</Attribute54>
<SubTel>04-1234-5678</SubTel>
<Attribute52List>
<Attribute52>1</Attribute52>
<Attribute52>2</Attribute52>
</Attribute52List>
<Attribute51>2</Attribute51>
<NameKa>テストキギョウ1</NameKa>
<DateOfEstablishment>2019-02-01</DateOfEstablishment>
<Address1>港区三田3丁目13</Address1>
<Attribute53>1</Attribute53>
<Zip1>123</Zip1>
<Country>
<CountryName>Japan</CountryName>
<CountryId>108</CountryId>
</Country>
<Prefecture>
<PrefectureName>東京都</PrefectureName>
<PrefectureId>10</PrefectureId>
</PrefectureId>
<EmailDomain>example.com</EmailDomain>
<Address2>テストビル12F</Address2>
<Attribute49>テストテキスト</Attribute49>
<EmployeeNumber>150</EmployeeNumber>
<Attribute50>テストテキストエリア
です</Attribute50>
<Zip2>4567</Zip2>
<Url>https://example.com</Url>
<Tel>03-1234-5678</Tel>
<Name>テスト企業1</Name>
<Fax>03-1234-5678</Fax>
</Company>
なし