POST Tenant/RegisterAndBind

Request Information

URI Parameters

None.

Body Parameters

RegisterAndBindRequest
NameDescriptionTypeAdditional information
tenantCode

string

None.

phone

string

None.

Request Formats

application/json, text/json

Sample:
{
  "tenantCode": "sample string 1",
  "phone": "sample string 2"
}

application/xml, text/xml

Sample:
<RegisterAndBindRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GJ.WEM.Biz.Model">
  <Phone>sample string 2</Phone>
  <TenantCode>sample string 1</TenantCode>
</RegisterAndBindRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

RemoteResponseOfEmployeeUserInfo
NameDescriptionTypeAdditional information
success

boolean

None.

errors

string

None.

unauthed

boolean

None.

result

EmployeeUserInfo

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "errors": "sample string 2",
  "unauthed": true,
  "result": {
    "Name": "sample string 1",
    "Mobile": "sample string 2",
    "WebCompanyInfos": [
      {
        "CompanyCode": "sample string 1",
        "CompanyName": "sample string 2"
      },
      {
        "CompanyCode": "sample string 1",
        "CompanyName": "sample string 2"
      }
    ]
  }
}

application/xml, text/xml

Sample:
<RemoteResponseOfEmployeeUserInfodmGyRm56 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GJ.Biz.Model">
  <Errors>sample string 2</Errors>
  <Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/GJ.WEM.Biz.Model">
    <d2p1:Mobile>sample string 2</d2p1:Mobile>
    <d2p1:Name>sample string 1</d2p1:Name>
    <d2p1:WebCompanyInfos>
      <d2p1:WebCompanyInfo>
        <d2p1:CompanyCode>sample string 1</d2p1:CompanyCode>
        <d2p1:CompanyName>sample string 2</d2p1:CompanyName>
      </d2p1:WebCompanyInfo>
      <d2p1:WebCompanyInfo>
        <d2p1:CompanyCode>sample string 1</d2p1:CompanyCode>
        <d2p1:CompanyName>sample string 2</d2p1:CompanyName>
      </d2p1:WebCompanyInfo>
    </d2p1:WebCompanyInfos>
  </Result>
  <Success>true</Success>
  <UnAuthorizedRequest>true</UnAuthorizedRequest>
</RemoteResponseOfEmployeeUserInfodmGyRm56>