此API已弃用。

使用已弃用API的合作伙伴和客户应该联系SAP Concur,并讨论如何转移到最新版本。

详情请参阅API生命周期和弃用策略。

描述

与会者类型资源表示在Concur中配置的与会者类型。检索公司的参与者类型列表。

版本

1.0

URI

https://www.concursolutions.com/api/expense/attendee/v1.0/type

获取与会者类型列表

请求

参数

一个也没有。

  • RFC 7231内容类型应用程序/ xml
  • RFC 7235授权
    • 对于有效的Concur用户,授权头必须具有OAuth令牌。
    • OAuth使用者在Concur中必须具有以下用户角色之一:公司管理员或专业的Web服务管理员,或标准的管理员。这些角色允许用户管理整个公司的数据。

响应

有效载荷

这个响应将返回一个attendee-types父元素包含attendee-type子元素。

元素 描述
类型 参与者类型代码。
的名字 参与者类型名称。

例子

请求

GET https://www.concursolutions.com/api/expense/attendee/v1.0/type Authorization: OAuth访问令牌

响应

HTTP/1.1 200 OK内容类型:application/xml
< attendee-typesxmlns =“http://www.concursolutions.com/api/expense/attendee/2010/05”xmlns:我=“http://www.w3.org/2001/XMLSchema-instance”>< attendee-type ><类型>BUSGUEST> < /类型<名称>商务客人< /名称>< / attendee-type >< attendee-type ><类型>员工> < /类型<名称>员工< /名称>< / attendee-type >< / attendee-types >