简体   繁体   中英

How to find company GUID in twinfield?

<soap:Header>
<Header xmlns="http://www.twinfield.com/">
  <SessionID>string</SessionID>
  <AccessToken>string</AccessToken>
  <CompanyCode>string</CompanyCode>
  <CompanyId>guid</CompanyId>
</Header>
</soap:Header>

The twinfield header soap call requires CompanyId guid which is a 32 character string separated by 4 dashes(-). How to find the guid?

The url you have to use is this: https://login.twinfield.com/auth/authentication/connect/accesstokenvalidation?token={{Accescode}}

Assuming you know the access code, this will give you the results, including the organisationId. This seems what you will need.

If you need you can find the how to make the accesscode here

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM