- 资源:Invitation
          <ph type="x-smartling-placeholder">- </ph>
            
- JSON 表示法
 
- TargetLocation
          <ph type="x-smartling-placeholder">- </ph>
            
- JSON 表示法
 
- 方法
资源:邀请
仅限输出。表示待处理的邀请。
| JSON 表示法 | |
|---|---|
| { "name": string, "role": enum ( | |
| 字段 | ||
|---|---|---|
| name | 
 邀请的资源名称。 | |
| role | 
 账号中的受邀角色。 | |
| 联合字段 target。指明此邀请所针对的目标。target只能是下列其中一项: | ||
| targetAccount | 
 此邀请所针对的稀疏填充账号。 | |
| targetLocation | 
 此邀请所针对的目标位置。 | |
TargetLocation
表示待处理邀请的目标地理位置。
| JSON 表示法 | |
|---|---|
| { "locationName": string, "locationAddress": string } | |
| 字段 | |
|---|---|
| locationName | 
 用户受邀前往的营业地点的名称。 | 
| locationAddress | 
 用户受邀前往的营业地点的地址。 | 
| 方法 | |
|---|---|
| 
(deprecated) | 接受指定的邀请。 | 
| 
(deprecated) | 拒绝指定的邀请。 | 
| 
(deprecated) | 列出指定账号的待处理邀请。 |