iiERP API Doc
  1. Authentication
iiERP API Doc
  • Access Guide
  • Authentication
    • Get Signtoken
      GET
    • Get AccessToken
      POST
  • CRM
    • Get Customer List
      GET
    • Get Customer Detail
      GET
    • Update Customer
      POST
    • Archive Customer
      POST
  • Event
    • Get Event List
      GET
    • Get Event Detail
      GET
    • Update Event
      POST
    • Archive Event
      POST
  • Function
    • Get Function List
      GET
    • Get Function Detail
      GET
    • Update Function
      POST
    • Archive Function
      POST
  • Service Order
    • Get Order List
      GET
    • Get Order Detail
      GET
    • Update Order
      POST
    • Archive Order
      POST
  • Work Order
    • Get Work Order List
      POST
    • Get Work OrderDetail
      GET
    • Update Work Order
      POST
    • Cancel Work Order
      POST
  • Appendix
    • Return Code Description
  1. Authentication

Get AccessToken

POST
https://ttt.iierp.com/ysso/api/account/login

Request

Header Params

Body Params application/json

Example
{
    "user": "username",
    "pwd": "123456"
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://ttt.iierp.com/ysso/api/account/login' \
--header 'timestamp;' \
--header 'nonce;' \
--header 'appKey;' \
--header 'signature;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "user": "username",
    "pwd": "123456"
}'

Responses

🟢200OK
application/json
Body

Example
{
    "StatusCode": 200,
    "Info": null,
    "Data": {
        "token": "SIGNIN#dc87bf07-8cd4-4b13-a47d-5407a85dd8b5#af85950c-1c95-4f24-bcd6-ed6f7f56c546#2B2DA6C1-52C6-493B-9A15-3F319B5F159D",
        "logonUserInfo": {
            "IsMgmtDomain": false,
            "MFViewStyle": null,
            "Roles": null,
            "userLogo": null,
            "bu": "dc87bf07-8cd4-4b13-a47d-5407a85dd8b5",
            "user": "af85950c-1c95-4f24-bcd6-ed6f7f56c546",
            "langId": "SS5050_ZH_CN",
            "langMstrRK": "SYS_ZH_CN",
            "buNumber": 123456,
            "currId": "SS5001_RMB",
            "contact": null,
            "ip": "121.0.0.0",
            "userAgent": "",
            "logonTime": "2025-03-10T17:40:41.563943+08:00",
            "activeTime": "2025-03-10T17:40:41.563943+08:00",
            "appName": "",
            "appId": null,
            "userType": null,
            "companyId": null,
            "longitude": 0,
            "latitude": 0,
            "locationName": null,
            "isShareLocation": false,
            "openId": null,
            "openIdType": null,
            "weChatAccessToken": null,
            "ecomId": null,
            "toBuMstr": null,
            "toUserMstr": null,
            "toAccount": null,
            "toCompany": null,
            "hasMutiAcct": true,
            "jdToken": null,
            "jdTenantName": null,
            "jdUserName": null,
            "jdEnterpriseStatus": null,
            "jdEnterpriseType": null,
            "token": null,
            "type": "BU"
        },
        "lang": "SS5050_ZH_CN"
    },
    "Total": 0,
    "pagePk": null
}
Previous
Get Signtoken
Next
Get Customer List
Built with