GET api/Setting/KH_DYY/Query/PageData/ByKeyCode?pageindex={pageindex}&pagesize={pagesize}&keycode={keycode}
查询一页导游的数据,并以简单数据类型返回。 用于在POS手机小程序中,查询导游的信息。 当不提供KeyCode关键字时,总是只返回当日带团导游的信息(当三日内买过票的、购过物的都算当日导游)。 当提供KEYCODE关键字时,总是在全部的导游中找,注意,程序中要显式地标识处理“禁用”状态的导游,尽量防止其被引用。
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
pageindex |
页序号,1表示第一页。 |
integer |
Default value is 1 |
pagesize |
页大小,默认为20 。 |
integer |
Default value is 20 |
keycode |
关键字,可以是导游证号(左匹配)或姓名(左匹配)。 |
string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
查询一页导游的数据,并以简单数据类型返回。 用于在POS手机小程序中,查询导游的信息。 当不提供KeyCode关键字时,总是只返回当日带团导游的信息(当三日内买过票的、购过物的都算当日导游)。 当提供KEYCODE关键字时,总是在全部的导游中找,注意,程序中要显式地标识处理“禁用”状态的导游,尽量防止其被引用。
CommonOperationResultWithTagOfSimplePageDataWithNoCountResultOfCrmGuiderItemResultName | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | SimplePageDataWithNoCountResultOfCrmGuiderItemResult |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": { "pageIndex": 1, "pageSize": 2, "hasMorePages": "sample string 3", "records": [ { "guidernumber": "sample string 1", "guidername": "sample string 2", "sex": "sample string 3", "languagetype": "sample string 4", "phone": "sample string 5", "mobile": "sample string 6", "fax": "sample string 7", "email": "sample string 8", "mailaddress": "sample string 9", "memory": "sample string 10", "enabledstate": "sample string 11", "photourl": "sample string 12", "applyState": "sample string 13" }, { "guidernumber": "sample string 1", "guidername": "sample string 2", "sex": "sample string 3", "languagetype": "sample string 4", "phone": "sample string 5", "mobile": "sample string 6", "fax": "sample string 7", "email": "sample string 8", "mailaddress": "sample string 9", "memory": "sample string 10", "enabledstate": "sample string 11", "photourl": "sample string 12", "applyState": "sample string 13" } ] } }
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfSimplePageDataWithNoCountResultOfCrmGuiderItemResultldpHZqFJrCdCJ3eC xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer"> <errcode>1</errcode> <errmsg>sample string 2</errmsg> <tag> <hasMorePages>sample string 3</hasMorePages> <pageIndex>1</pageIndex> <pageSize>2</pageSize> <records xmlns:d3p1="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Result"> <d3p1:CrmGuiderItemResult> <d3p1:applyState>sample string 13</d3p1:applyState> <d3p1:email>sample string 8</d3p1:email> <d3p1:enabledstate>sample string 11</d3p1:enabledstate> <d3p1:fax>sample string 7</d3p1:fax> <d3p1:guidername>sample string 2</d3p1:guidername> <d3p1:guidernumber>sample string 1</d3p1:guidernumber> <d3p1:languagetype>sample string 4</d3p1:languagetype> <d3p1:mailaddress>sample string 9</d3p1:mailaddress> <d3p1:memory>sample string 10</d3p1:memory> <d3p1:mobile>sample string 6</d3p1:mobile> <d3p1:phone>sample string 5</d3p1:phone> <d3p1:photourl>sample string 12</d3p1:photourl> <d3p1:sex>sample string 3</d3p1:sex> </d3p1:CrmGuiderItemResult> <d3p1:CrmGuiderItemResult> <d3p1:applyState>sample string 13</d3p1:applyState> <d3p1:email>sample string 8</d3p1:email> <d3p1:enabledstate>sample string 11</d3p1:enabledstate> <d3p1:fax>sample string 7</d3p1:fax> <d3p1:guidername>sample string 2</d3p1:guidername> <d3p1:guidernumber>sample string 1</d3p1:guidernumber> <d3p1:languagetype>sample string 4</d3p1:languagetype> <d3p1:mailaddress>sample string 9</d3p1:mailaddress> <d3p1:memory>sample string 10</d3p1:memory> <d3p1:mobile>sample string 6</d3p1:mobile> <d3p1:phone>sample string 5</d3p1:phone> <d3p1:photourl>sample string 12</d3p1:photourl> <d3p1:sex>sample string 3</d3p1:sex> </d3p1:CrmGuiderItemResult> </records> </tag> </CommonOperationResultWithTagOfSimplePageDataWithNoCountResultOfCrmGuiderItemResultldpHZqFJrCdCJ3eC>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.