POST api/AllowAnonymousAPI/QueryTenantGIDByEmployeeGID

根据employeeGID获取tenant_GID

Request Information

URI Parameters

None.

Body Parameters

empInput
NameDescriptionTypeAdditional information
employeeGID

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "employeeGID": "c195a44b-1431-4da6-afa6-b69fb4e556ab"
}

application/xml, text/xml

Sample:
<empInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JetHR.OpenAPI.Service">
  <employeeGID>c195a44b-1431-4da6-afa6-b69fb4e556ab</employeeGID>
</empInput>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'empInput'.

Response Information

Resource Description

根据employeeGID获取tenant_GID

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>