Smart Data Platform SSS API v1.0 List (3.0.0)
Download OpenAPI specification:Download
Smart Data Platform SSS (Shared Support Service) provides controls of your contract / user / tenant / API keys and permissions. Following list shows SSS API v1.0.
⚠️ The v1.0 API is deprecated. If you wish to use SSS APIs, please use v2 APIs. Also, if you are currently using the v1.0 API, please migrate to the v2 API. The date of API decommissioning is to be determined
- Some API cannot be used / requires differenct parameter for contracts applied Smart Data Platform via NTT Communications business portal.
- HTTP Response header name is case insensitive.
SSS APIs require authentication with "Keystone", which is API authenticator defaults to Openstack.
X-Auth-Token
A Token you can get from Keystone. Set this token in request header as "X-Auth-Token" to request SSS APIs. To get this token please follow this link.
Security Scheme Type | API Key |
---|---|
Header parameter name: | X-Auth-Token |
Get User information
⚠️ This API returns empty login id and email when requested to the regions except user's home region.
Overview
- Lists IDs, names, and links for all servers Get user information such as login id, email, apikey etc.
Classification
- Get
API Operation Object
- user
Synchronous / Asynchronous
- Synchronous
Authorizations:
path Parameters
user_id required | string user's id (ecidXXXXXXXXX) |
Responses
Success
Invalid request
Unauthorized
Not permitted for this user
Not found a specified resource
Method not allowed
GL1 Endpoint
Regional Endpoint
Response samples
- 200
- 401
{- "user_id": "ecid1000005887",
- "login_id": "XXXXXXXXX",
- "mail_address": "youremail@ntt.com",
- "contract_owner": true,
- "super_user": false,
- "api_availability": true,
- "keystone_name": "XXXXXXXXXXXXXXXXX",
- "start_time": "2016-01-06 00:44:39",
- "contract_id": "econ1000002353",
- "login_integration": "icp",
- "external_reference_id": "109876543210987",
- "brand_id": "ecl2",
- "api_only": false
}
Update User
⚠️ This API is not allowed for contracts which was applied via NTT Communications business portal. In this case, if you need to update user's email, update user email on NTT Communications business portal, then SSO this service.
Overview
- Update user information.
Classification
- Update
API Operation Object
- user
Synchronous / Asynchronous
- Synchronous
Authorizations:
path Parameters
user_id required | string user's id (ecidXXXXXXXXX) |
Request Body schema: application/json
login_id | string [ 6 .. 60 ] characters New login id of the user. |
mail_address | string <email> [ 1 .. 64 ] characters New email address of the user |
new_password | string <password> [ 8 .. 50 ] characters Password of the user. Single-byte alphanumeric characters, and !#$%&()*+,-./:;<=>?@[]^_`{|}~ can be used. Must contain at least one uppercase letter, one lowercase letter, and one number. String length must be between 8 and 50 characters. |
Responses
No Content
Invalid request
Unauthorized
Not permitted for this user
Not found a specified resource
Method not allowed
Designated login conflicts existing user
GL1 Endpoint
Regional Endpoint
Request samples
- Payload
{- "login_id": "test001",
- "mail_address": "test@ntt.com",
- "new_password": "Ale39bao"
}
Response samples
- 401
- 404
{- "code": 401,
- "title": "Unauthorized",
- "message": "Invalid token."
}
Delete User (For partner user only)
⚠️ This API is not allowed for contracts which was applied via NTT Communications business portal.
Overview
- Delete user.
- Delete users in the designated contract. This API can be used by Partner user only.
Classification
- Delete
API Operation Object
- user
Synchronous / Asynchronous
- Synchronous
Authorizations:
path Parameters
user_id required | string user's id (ecidXXXXXXXXX) |
Responses
No Content
Invalid request
Unauthorized
Not permitted for this user
Not found a specified resource
Method not allowed
Designated login conflicts existing user
GL1 Endpoint
Regional Endpoint
Response samples
- 401
- 404
{- "code": 401,
- "title": "Unauthorized",
- "message": "Invalid token."
}
List Users information
Overview
- List users in the designated contract.
Classification
- List
API Operation Object
- user
Synchronous / Asynchronous
- Synchronous
Authorizations:
query Parameters
contract_id | string Contract ID ( Default is the Contract ID of API executing user. ). |
Responses
Success
Invalid request
Unauthorized
Not permitted for this user
Not found a specified resource
Method not allowed
GL1 Endpoint
Regional Endpoint
Response samples
- 200
- 401
{- "contract_id": "econ1000002891",
- "users": [
- {
- "user_id": "ecid1000005697",
- "login_id": "test1",
- "mail_address": "test1@ntt.com",
- "contract_owner": true,
- "api_availability": true,
- "start_time": "2016-01-0600:44:39",
- "api_only": false
}, - {
- "user_id": "ecid1000006346",
- "login_id": "test2",
- "mail_address": "test2@ntt.com",
- "contract_owner": false,
- "api_availability": true,
- "start_time": "2016-01-1304:39:13",
- "api_only": false
}
]
}
Create User (For partner user only)
⚠️ This API is not allowed for contracts which was applied via NTT Communications business portal. In this case, if you need to update user's email, update user email on NTT Communications business portal, then SSO this service.
Overview
- Create users in the designated contract.
- This API can be used by Partner user only.
- Partner user can create users at enduser's contract only.
Classification
- Create
API Operation Object
- user
Synchronous / Asynchronous
- Synchronous
Authorizations:
Request Body schema: application/json
login_id required | string [ 6 .. 60 ] characters Login id of new user. Single-byte alphanumeric characters, and @+-._ can be used. String length must be between 6 and 60 characters. The login_id must be unique system-wide, including deleted users. It is recommended to save this login ID, as it cannot be retrieved later via the API. |
mail_address required | string <email> [ 8 .. 64 ] characters Mail address of new user. E-mail must be less than 60 characters |
password | string <password> [ 8 .. 50 ] characters Password of the user. Single-byte alphanumeric characters, and !#$%&()*+,-./:;<=>?@[]^_`{|}~ can be used. Must contain at least one uppercase letter, one lowercase letter, and one number. String length must be between 8 and 50 characters. If the API user set this item as blank, the system set initial random password automatically. |
contract_id required | string Contract ID for user creation |
notify_password required | boolean If this flag is set 'true', notification eamil will be sent to new user's email. |
Responses
Created
Invalid request
Unauthorized
Not permitted for this user
Not found a specified resource
Method not allowed
Designated login conflicts existing user
GL1 Endpoint
Regional Endpoint
Request samples
- Payload
{- "login_id": "test001",
- "mail_address": "test@ntt.com",
- "password": "Dsrtf34ht",
- "contract_id": "econXXXXXXXXX",
- "notify_password": true
}
Response samples
- 201
- 400
- 401
{- "login_id": "specifilogin",
- "mail_address": "test@ntt.com",
- "user_id": "ecid1000014777",
- "contract_id": "econ1000002251",
- "password": "PasswordYouDefine"
}
Update API key pair
Overview
- Update your own API key pair. You can't change API keys of other users. ※This API cannot be executed when the target user is API unavailable setting.
Classification
- Update
API Operation Object
- API Key
Synchronous / Asynchronous
- Synchronous
Authorizations:
path Parameters
user_id required | string Target user iD (ecid) |
Responses
Success
Invalid request
Unauthorized
Not permitted for this user
Not found a specified resource
GL1 Endpoint
Regional Endpoint
Response samples
- 200
- 401
- 404
{- "user_id": "ecidXXXXX",
- "keystone_name": "XTI3u6blgmW3Bje0jDjkBKlFG4GmI4kn",
- "keystone_password": "Fcx1nZUprR8wg57k",
- "status": "Success"
}
Update Auto Role Settings (For partner user only)
Overview
- Update auto role setting for partner user.
- This API can be used by Partner user only.
- Users with on setting automatically have assignment to the tenant when viewing the tenant information of the child contract.
Classification
- Update
API Operation Object
- user
Synchronous / Asynchronous
- Synchronous
Authorizations:
path Parameters
user_id required | string The User who wants to set automatic role to child contract tenant |
Request Body schema: application/json
auto_role_assignment_flag required | boolean Auto role assignment setting (true: on, false: off) |
Responses
No Content
Invalid request
Unauthorized
Not permitted for this user
Not found a specified resource
Designated login conflicts existing user
GL1 Endpoint
Regional Endpoint
Request samples
- Payload
{- "auto_role_assignment_flag": true
}
Response samples
- 401
{- "code": 401,
- "title": "Unauthorized",
- "message": "Invalid token."
}
Create Tenant
Overview
- Create new tenant in the designated contract. Only super user (contract owner user) can use this API. This API does not allow you to create tenants in different regions in the same workspace. If you want to create tenants for different regions in the same workspace, please use version 2 of the create tenant API.
Classification
- Create
API Operation Object
- Tenant
Synchronous / Asynchronous
- Synchronous
Authorizations:
Request Body schema: application/json
tenant_name required | string New tenant's tenant name. This name need to be unique globally. Alphanumeric characters and !$&()+,-.;<=>@[]^_`{|}~ can be used. String length must be between 1 and 50 characters. |
description required | string Description for this tenant. String must be less than 255 characters. |
region required | string Region this tenant belongs to. |
contract_id | string Contract which new tenant belongs to. If this parameter is not designated, API user's contract implicitly designated. Required for partner users. |
Responses
Created
Invalid request
Unauthorized
Not permitted for this user
Not found a specified resource
Method not allowed
Designated resource conflicted with existing resource
GL1 Endpoint
Regional Endpoint
Request samples
- Payload
{- "tenant_name": "new_project",
- "description": "To use projectA",
- "region": "jp-east",
- "contract_id": "econ1111123456"
}
Response samples
- 201
- 401
{- "workspace_id": "ws0000000001",
- "tenant_id": "462c8013d0e849e4b986ab2c181f2af8",
- "tenant_name": "tenant_for_cheeseshop1",
- "description": "cheeseshop_web",
- "region": "jp1",
- "contract_id": "econ1000002251"
}
List Tenants
Overview
- Get list of tenant. Only tenants request user has access to will be listed.
Classification
- List
API Operation Object
- Tenant
Synchronous / Asynchronous
- Synchronous
Authorizations:
query Parameters
contract_id | string Contract ID (Default is the Contract ID of API executing user.). |
Responses
Success
Invalid request
Unauthorized
Not permitted for this user
Not found a specified resource
Method not allowed
GL1 Endpoint
Regional Endpoint
Response samples
- 200
- 401
{- "contract_id": "econ1000002760",
- "tenants": [
- {
- "tenant_id": "b3bcbb8baeac41fc960e41a3a38dec09",
- "tenant_name": "test0000002",
- "description": "a",
- "region": "jp1",
- "start_time": "2016-02-16 10:50:59",
- "workspace_id": "ws0000000002"
}, - {
- "tenant_id": "724b1ebc748f46039783faf07af2885a",
- "tenant_name": "TestTenant",
- "description": "",
- "region": "jp1",
- "start_time": "2016-01-12 05:27:50",
- "workspace_id": "ws0000000002"
}, - {
- "tenant_id": "d8202d266ab64993b9ab909fb57ed0c8",
- "tenant_name": "xxxxxxxxxx",
- "description": "",
- "region": "jp1",
- "start_time": "2016-01-08 07:49:09",
- "workspace_id": "ws0000000002"
}
]
}
Get Tenant
Overview
- Get information about a tenant.
Classification
- Get
API Operation Object
- Tenant
Synchronous / Asynchronous
- Synchronous
Authorizations:
path Parameters
tenant_id required | string ID of the tenant |
Responses
Success
Invalid request
Unauthorized
Not permitted for this user
Not found a specified resource
Method not allowed
GL1 Endpoint
Regional Endpoint
Response samples
- 200
- 401
- 404
{- "tenant_id": "//sss-jp1-ecl.api.ntt.com/api/v2/tenants/db695f004c214d0eb4117a7196ecddb7",
- "tenant_name": "SampleTenant1",
- "description": "",
- "region": "jp1",
- "contract_id": "econ1000002362",
- "start_time": "2016-02-12 01:27:53",
- "users": [
- {
- "user_id": "ecid1000003197",
- "contract_id": "econ0123456789",
- "contract_owner": true
}, - {
- "user_id": "ecid1000014662",
- "contract_id": "econ0123456789",
- "contract_owner": false
}, - {
- "user_id": "ecid1000014660",
- "contract_id": "econ0123456789",
- "contract_owner": false
}
], - "brand_id": "ecl2",
- "workspace_id": "ws0000000001"
}
Delete Tenant
Overview
- Delete tenant.
- Only super user (contract owner user) can use this API.
- If the user delete tenant, the all user's token who has role to this tenant are expired even though 1 hour has not passed.
Classification
- Delete
API Operation Object
- Tenant
Synchronous / Asynchronous
- Synchronous
Authorizations:
path Parameters
tenant_id required | string ID of the tenant |
Responses
No Content
Invalid request
Unauthorized
Not permitted for this user
Not found a specified resource
Method not allowed
Designated resource conflicted with existing resource
GL1 Endpoint
Regional Endpoint
Response samples
- 401
- 404
{- "code": 401,
- "title": "Unauthorized",
- "message": "Invalid token."
}
Update Tenant
Overview
- Update description tenant in the designated contract.
Classification
- Update
API Operation Object
- Tenant
Synchronous / Asynchronous
- Synchronous
Authorizations:
path Parameters
tenant_id required | string ID of the tenant |
Request Body schema: application/json
description required | string Description for this tenant. String must be less than 255 characters. |
Responses
No Content
Invalid request
Unauthorized
Not permitted for this user
Not found a specified resource
Method not allowed
Designated resource conflicted with existing resource
GL1 Endpoint
Regional Endpoint
Request samples
- Payload
{- "description": "string"
}
Response samples
- 401
{- "code": 401,
- "title": "Unauthorized",
- "message": "Invalid token."
}
Create Role
Overview
- Create role between a user and a tenant. With role, users can access to the tenants.
Classification
- Create
API Operation Object
- Role
Synchronous / Asynchronous
- Synchronous
Authorizations:
Request Body schema: application/json
user_id required | string User which have new role. |
tenant_id required | string Tenant which the user have role. |
Responses
Created
Invalid request
Unauthorized
Not permitted for this user
Not found a specified resource
Method not allowed
Designated resource conflicted with existing resource
GL1 Endpoint
Regional Endpoint
Request samples
- Payload
{- "user_id": "ecid1234567891",
- "tenant_id": "91b5c7c09cbd45caa3c146fd67ae471e"
}
Response samples
- 201
- 400
- 401
{- "user_id": "test001",
- "region_id": "1789d1",
- "region_name": "jp-east",
- "tenant_id": "91b5c7c09cbd45caa3c146fd67ae471e",
- "tenant_name": "testTenant001",
- "role_name": "_member_",
- "workspace_id": "ws0000000001"
}
Delete Role
Overview
- Delete role between user and tenant.
- Contract owner user always have role to all tenants in the contract.
- Only super user with Workspace management permission and partner user can use this API.
Classification
- Delete
API Operation Object
- Role
Synchronous / Asynchronous
- Synchronous
Authorizations:
path Parameters
tenant_id required | string Delete target tenant's tenant id. |
user_id required | string User ID |
Responses
No Content
Invalid request
Unauthorized
Not permitted for this user
Not found a specified resource
Method not allowed
Designated resource conflicted with existing resource
GL1 Endpoint
Regional Endpoint
Response samples
- 401
{- "code": 401,
- "title": "Unauthorized",
- "message": "Invalid token."
}
List Contracts(For partner user only)
Overview
- List Contracts in the designated channel. This API can be used by Partner user only.
Classification
- List
API Operation Object
- Contracts
Synchronous / Asynchronous
- Synchronous
Authorizations:
query Parameters
channel_id required | string Target channel_id under own contract |
include_deleted | boolean Setting true or false(default is false) (true : Include deleted contract/ false: Not include deleted contract |
Responses
Success
Invalid request
Unauthorized
Not permitted for this user
Not found a specified resource
Method not allowed
GL1 Endpoint
Regional Endpoint
Response samples
- 200
- 401
{- "contracts": [
- {
- "contract_id": "econXXXXXXXXXX",
- "status": "enable",
- "channel_id": "chxxxxx",
- "channel_name": "test",
- "contract_owner_user_id": "ecidxxxxxxxxxx",
- "customer_number": "120000000123456",
- "start_time": "9999-12-31 23:59:59",
- "end_time": "9999-12-31 23:59:59",
- "description": "Contract's description"
}, - {
- "contract_id": "econXXXXXXXXXX",
- "status": "enable",
- "channel_id": "chxxxxx",
- "channel_name": "test",
- "contract_owner_user_id": "ecidxxxxxxxxxx",
- "customer_number": "120000000123456",
- "start_time": "9999-12-31 23:59:59",
- "end_time": "9999-12-31 23:59:59",
- "description": "Contract's description"
}, - {
- "contract_id": "econXXXXXXXXXX",
- "status": "deleted",
- "channel_id": "chxxxxx",
- "channel_name": "test",
- "contract_owner_user_id": "ecidxxxxxxxxxx",
- "customer_number": "120000000123456",
- "start_time": "9999-12-31 23:59:59",
- "end_time": "9999-12-31 23:59:59",
- "description": "Contract's description"
}
]
}
Create Contract(For partner user only)
Overview
- Create contract in designated channel. This API can be used by Partner user only.
Classification
- Create
API Operation Object
- Contracts
Synchronous / Asynchronous
- Asynchronous
Authorizations:
Request Body schema: application/json
login_id required | string [ 6 .. 60 ] characters Login ID of new user. Single-byte alphanumeric characters, and @+-._ can be used. String length must be between 6 and 60 characters. The login_id must be unique system-wide, including deleted users. It is recommended to save this login ID, as it cannot be retrieved later via the API. |
mail_address required | string <email> [ 1 .. 64 ] characters E-mail address of the user. E-mail must be less than 60 characters |
password | string <password> [ 8 .. 50 ] characters Password of the user. Single-byte alphanumeric characters, and !#$%&()*+,-./:;<=>?@[]^_`{|}~ can be used. Must contain at least one uppercase letter, one lowercase letter, and one number. String length must be between 8 and 50 characters. If the API user set this item as blank, the system set initial random password automatically. |
external_reference_id | string [ 6 .. 50 ] characters By using this item, the partner API user can associate optional string to the constract(e.g. The end user management ID in the partner user's system). Single-byte alphanumeric characters can be used. String length must be between 6 and 50 characters. Note that this ID will be NOT used to control the contract in internal system. If the item is set as blank, ECL 2.0 system set the end user's contract ID automatically(e.g. econXXXXXXXX). |
channel_id required | string The channel means the group to manage contracts. The partner user will be given 2 channels. One is the channel that contains own contract. The other is the channel that contains all end user contracts which the partner user has. By executing the List Channel API(For partner user only), the user can get your (and enduser's) channel ID. |
notify_password | boolean Default: false Setting true or false(default is false). This item designate whether the system should send to the login_ID and Password with e-mail. |
description | string <= 255 characters Description of the contract. |
Responses
Accepted
Invalid request
Unauthorized
Not permitted for this user
Not found a specified resource
Method not allowed
Designated resource conflicted with existing resource
GL1 Endpoint
Regional Endpoint
Request samples
- Payload
{- "login_id": "example0001",
- "mail_address": "example@example.com",
- "password": "xxxxxxxx",
- "channel_id": "ch0000000001",
- "notify_password": false,
- "description": "The contract's description"
}
Response samples
- 401
{- "code": 401,
- "title": "Unauthorized",
- "message": "Invalid token."
}
Get Contract Information
Overview
- Get the information of the designated contract.
Classification
- Get
API Operation Object
- Contracts
Synchronous / Asynchronous
- Synchronous
Authorizations:
path Parameters
contract_id required | string Target contract ID (econ) |
Responses
Success
Invalid request
Unauthorized
Not permitted for this user
Not found a specified resource
Method not allowed
GL1 Endpoint
Regional Endpoint
Response samples
- 200
- 401
- 404
{- "contract_id": "econ1000088157",
- "customer_number": "N0123456789",
- "channel_name": "nttcom_partner1_retail",
- "channel_id": "ch2000000022",
- "management_channel": false,
- "contract_owner_user_id": "ecid1000033406",
- "status": "enable",
- "login_integration": "",
- "start_time": "2016-06-07 02:45:55",
- "end_time": "",
- "company_code": "",
- "icp_portal_id": "",
- "glass_customer_id": "",
- "glass_user_id": "",
- "brand_id": "ecl2",
- "charge_reference_availability": true,
- "description": "Contract's description"
}
Delete Contract(For partner user only)
Overview
- Delete contract in designated channel. This API can be used by Partner user only.
Classification
- Delete
API Operation Object
- Contracts
Synchronous / Asynchronous
- Synchronous
Authorizations:
path Parameters
contract_id required | string Target contract ID (econ) |
Responses
No Content
Invalid request
Unauthorized
Not permitted for this user
Not found a specified resource
Method not allowed
Designated resource conflicted with existing resource
GL1 Endpoint
Regional Endpoint
Response samples
- 401
- 404
{- "code": 401,
- "title": "Unauthorized",
- "message": "Invalid token."
}
Change Contract Information(For partner user only)
Overview
- Change child contract's infomation of visble own billing information from child contract's super user. This API can be used by Partner user only.
Classification
- Update
API Operation Object
- Contracts
Synchronous / Asynchronous
- Asynchronous
Authorizations:
path Parameters
contract_id required | string Target contract ID (econ) |
Request Body schema: application/json
charge_reference_availability | boolean visble own billing information from child contract's super user or not. |
external_reference_id | string [ 6 .. 59 ] characters Change target customer number. Single-byte alphanumeric characters can be used. String length must be between 6 and 50 characters. |
description | string <= 255 characters Description of the contract. |
Responses
No Content
Invalid request
Unauthorized
Not permitted for this user
Not found a specified resource
Method not allowed
Designated resource conflicted with existing resource
GL1 Endpoint
Regional Endpoint
Request samples
- Payload
{- "charge_reference_availability": true,
- "external_reference_id": "string",
- "description": "string"
}
Response samples
- 401
- 404
{- "code": 401,
- "title": "Unauthorized",
- "message": "Invalid token."
}
Change Owner
Overview
- Change contract's owner. Only super user(contract owner user) can use this API. Old super user(contract owner) become user
Classification
- Update
API Operation Object
- Contracts
Synchronous / Asynchronous
- Asynchronous
Authorizations:
path Parameters
contract_id required | string Target contract ID (econ) |
Request Body schema: application/json
user_id required | string User ID |
Responses
Accepted
Invalid request
Unauthorized
Not permitted for this user
Not found a specified resource
Method not allowed
Designated resource conflicted with existing resource
GL1 Endpoint
Regional Endpoint
Request samples
- Payload
{- "user_id": "ecid1000XXXXX"
}
Response samples
- 401
{- "code": 401,
- "title": "Unauthorized",
- "message": "Invalid token."
}
Search Contracts (For partner user only)
Overview
- Search contracts by several conditions. This API can be used by Partner user only.
Classification
- Get
API Operation Object
- Contracts
Synchronous / Asynchronous
- Synchronous
HTTP Request Path
- Specify query parameters as below
/api/v1.0/search/contracts?{search_key}={search_value}&{addtional_search_key}={addtional_search_value}
Authorizations:
query Parameters
search_key | string You can select one of contract_id, customer_number, company_code, channel_id, channel_name, tenant_id, tenant_name, user_id. |
search_value | string The value specified by the search key. |
addtional_search_key | string You can set of start_time_from, start_time_to, end_time_from, end_time_to, include_deleted,max_rows. start_time_from/start_time_to/end_time_from/end_time_to parameters designates period of contract's start time or end time. include_deleted is status of contracts. max_rows is limit of searches. If you want to specify more than one, connect each parameter with & |
addtional_search_value | string or number or boolean The value specified by the search key. start_time_from/start_time_to/end_time_from/end_time_to is in form of yyyymmddhhmmss. include_deleted is boolean. max_rows is 1-10000 number. |
Responses
Success
Invalid request
Unauthorized
Not permitted for this user
Not found a specified resource
GL1 Endpoint
Regional Endpoint
Response samples
- 200
- 401
{- "contracts": [
- {
- "contract_id": "econXXXXXXXXXX",
- "status": "enable",
- "customer_number": "120000000123456",
- "company_code": "C1234567890",
- "start_time": "2017-04-01 00:00:00",
- "end_time": "",
- "description": "Contract's information"
}, - {
- "contract_id": "econXXXXXXXXXX",
- "status": "enable",
- "customer_number": "120000000123456",
- "company_code": "",
- "start_time": "2017-04-01 00:00:00",
- "end_time": "",
- "description": "Contract's information"
}, - {
- "contract_id": "econXXXXXXXXXX",
- "status": "deleted",
- "customer_number": "120000000123456",
- "company_code": "C1234567890",
- "start_time": "2017-04-01 00:00:00",
- "end_time": "2017-12-31 00:00:00",
- "description": ""
}
]
}
List Channels (For Partner user Only)
Overview
- Getting lists of information about the own channel and end user channel that own contract belongs. This API can be used by Partner user only.
About Channel
- The channel means the group to manage contracts.
- The partner user will be given 2 channels by Smart Data Platform system.
- One is the channel that contains own contract. This channel is named partner management channel.
- The other is the channel that contains all end user contracts which the partner user has.
- By executing this API, the API user can get these 2 channel's information(including channel ID).
Classification
- List
API Operation Object
- Channels
Synchronous / Asynchronous
- Synchronous
Authorizations:
query Parameters
get_contracts | boolean Default: false The flag of whether getting contracts(true or false(default)). |
Responses
Success
Invalid request
Unauthorized
Not permitted for this user
Not found a specified resource
Method not allowed
GL1 Endpoint
Regional Endpoint
Response samples
- 200
- 401
{- "channels": [
- {
- "channel_id": "ch00002",
- "channel_name": "chroot",
- "language": "ja",
- "management_channel": true,
- "parent_channel_id": null,
- "default_login_integration": null,
- "contracts": [
- {
- "contract_id": "econXXXXXXXXXX",
- "status": "enable"
}
]
}, - {
- "channel_id": "ch00003",
- "channel_name": "ch01",
- "language": "ja",
- "management_channel": false,
- "parent_channel_id": "ch00002",
- "default_login_integration": null,
- "contracts": [
- {
- "contract_id": "econXXXXXXXXXX",
- "status": "enable"
}, - {
- "contract_id": "econXXXXXXXXXX",
- "status": "deleted"
}
]
}, - {
- "channel_id": "ch00004",
- "channel_name": "ch02",
- "language": "ja",
- "management_channel": false,
- "parent_channel_id": "ch00002",
- "default_login_integration": "icp",
- "contracts": [
- {
- "contract_id": "econXXXXXXXXXX",
- "status": "enable"
}
]
}
]
}
Create IAM Group
Overview
- Create IAM Group in the designated contract. Only super user (contract owner user) can use this API.
Classification
- Create
API Operation Object
- IAM ( API Permission Management )
Synchronous / Asynchronous
- Synchronous
Authorizations:
Request Body schema: application/json
contract_id | string Contract ID( Default is the Contract ID of API executing user. ). |
iam_group_name required | string [ 3 .. 60 ] characters New IAM Group name. Alphanumeric characters and @, -, ., _ can be used. String length must be between 3 and 60 characters. |
description | string <= 255 characters Description of the IAM Group. String must be less than 255 characters |
Responses
Created
Invalid request
Unauthorized
Not permitted for this user
Not found a specified resource
Method not allowed
GL1 Endpoint
Regional Endpoint
Request samples
- Payload
{- "contract_id": "econXXXXXXXX",
- "iam_group_name": "string",
- "description": "string"
}
Response samples
- 201
- 401
{- "contract_id": "econXXXXXXXX",
- "iam_group_id": "09d98eda-6421-11e6-9827-e1e34fb8c324",
- "iam_group_name": "string",
- "description": "string"
}
List IAM Group
Overview
- Show IAM Group list in the designated contract.
Classification
- List
API Operation Object
- IAM ( API Permission Management )
Synchronous / Asynchronous
- Synchronous
Authorizations:
query Parameters
contract_id | string Contract ID( Default is the Contract ID of API executing user. ). |
Responses
Success
Invalid request
Unauthorized
Not permitted for this user
Not found a specified resource
Method not allowed
Designated resource conflicted with existing resource
GL1 Endpoint
Regional Endpoint
Response samples
- 200
- 401
{- "contract_id": "econXXXXXXX",
- "iam_groups": [
- {
- "iam_group_name": "new_group1",
- "iam_group_id": "XXXXXXXXXXXX",
- "description": "new group 1",
- "start_time": "2016-08-31 00:00:00",
- "default_group": true,
- "default_group_type": "all_allowed",
- "iam_roles": [
- {
- "iam_role_id": "XXXXXXXXXX",
- "iam_role_name": "name"
}
]
}, - {
- "iam_group_name": "new_group2",
- "iam_group_id": "XXXXXXXXXXXX",
- "description": "new group 2",
- "start_time": "2016-08-31 00:00:00",
- "default_group": false,
- "default_group_type": "",
- "iam_roles": [
- {
- "iam_role_id": "XXXXXXXXXX",
- "iam_role_name": "name1"
}, - {
- "iam_role_id": "XXXXXXXXXX",
- "iam_role_name": "name2"
}
]
}
]
}
List IAM Role
Overview
- Show IAM Role list in the designated contract.
Classification
- List
API Operation Object
- IAM ( API Permission Management )
Synchronous / Asynchronous
- Synchronous
Authorizations:
query Parameters
contract_id | string Contract ID( Default is the Contract ID of API executing user. ). |
Responses
Success
Invalid request
Unauthorized
Not permitted for this user
Not found a specified resource
Method not allowed
GL1 Endpoint
Regional Endpoint
Response samples
- 200
- 401
{- "contract_id": "econ1234567890",
- "iam_roles": [
- {
- "iam_role_name": "new_role1",
- "iam_role_id": "e8422cea-6449-11e6-82d8-7f1d195e00b5",
- "description": "new role 1"
}, - {
- "iam_role_name": "new_role2",
- "iam_role_id": "e8422cea-6449-11e6-82d8-7f1ssbeaga",
- "description": "new role 2"
}, - {
- "iam_role_name": "new_role3",
- "iam_role_id": "e8422cea-6449-11e6-82d8-eagaewwaba",
- "description": "new role 3"
}
]
}
Create IAM Role
Overview
- Create IAM Role in the designated contract. Only super user (contract owner user) can use this API.
Classification
- Create
API Operation Object
- IAM ( API Permission Management )
Synchronous / Asynchronous
- Synchronous
Operating Suggestions
- "basePath" parameter in request body:
- This parameter define executable API's basepath in Smart Data Platform.
- Basepath means service classification of Smart Data Platform.
- You should set the parameter in accordance with the service you want to use.
- To see the basePath values, follow this link.
Authorizations:
Request Body schema: application/json
contract_id | string Contract ID( Default is the Contract ID of API executing user. ). |
iam_role_name required | string [ 3 .. 60 ] characters New IAM Role name. Alphanumeric characters and @, -, ., _ can be used. String length must be between 3 and 60 characters. |
description | string <= 255 characters Description of the IAM Role. String must be less than 255 characters |
resources required | Array of objects Whitelist rules of API execution.(A user can define any rule by using follow parameters. ) |
Responses
Created
Invalid request
Unauthorized
Not permitted for this user
Not found a specified resource
Method not allowed
Designated resource conflicted with existing resource
GL1 Endpoint
Regional Endpoint
Request samples
- Payload
{- "contract_id": "econXXXXXXXXX",
- "iam_role_name": "new_role",
- "description": "new role",
- "resources": [
- {
- "ipAddress": "1.2.3.4/32",
- "basePath": "/ecl-sss",
- "path": "*",
- "verb": "GET"
}
]
}
Response samples
- 201
- 401
{- "contract_id": "econXXXXXXXXX",
- "iam_role_id": "e8422cea-6449-11e6-82d8-7f1d195e00b5",
- "iam_role_name": "new_role",
- "description": "new role",
- "resources": [
- {
- "ipAddress": "1.2.3.4/32",
- "basePath": "/ecl-sss",
- "path": "*",
- "verb": "GET"
}
]
}
List User in the designated IAM Group
Overview
- Show User list in the designated IAM Group ID.
Classification
- List
API Operation Object
- IAM ( API Permission Management )
Synchronous / Asynchronous
- Synchronous
Authorizations:
path Parameters
iam_group_id required | string IAM Group ID that you want to show user list. |
Responses
Invalid request
Unauthorized
Not permitted for this user
Not found a specified resource
Method not allowed
Designated login conflicts existing user
GL1 Endpoint
Regional Endpoint
Response samples
- 200
- 401
{- "iam_group_name": "new_group",
- "iam_group_id": "xxxxx-xxxx-xxxx-xxxx-xxxx",
- "description": "project A group",
- "start_time": "2016-08-31 00:00:00",
- "default_group": true,
- "users": [
- {
- "user_id": "ecidxxxxxxxxxxx"
}, - {
- "user_id": "ecidyyyyyyyyyyy"
}
]
}
Get IAM Role Information
Overview
- Show a IAM Role's information. You can check a IAM Role's name, ID and resources by executing this API.
Classification
- Get
API Operation Object
- IAM ( API Permission Management )
Synchronous / Asynchronous
- Synchronous
Authorizations:
path Parameters
iam_role_id required | string Target IAM Role ID |
Responses
Success
Invalid request
Unauthorized
Not permitted for this user
Not found a specified resource
Method not allowed
Designated resource conflicted with existing resource
GL1 Endpoint
Regional Endpoint
Response samples
- 200
- 401
{- "iam_role_name": "new_role",
- "iam_role_id": "xxxxx-xxxx-xxxx-xxxx-xxxx",
- "description": "project A role",
- "start_time": "2016-08-31 00:00:00",
- "default_role": false,
- "resources": [
- {
- "basePath": "/ecl-sss",
- "ipAddress": "*/*",
- "path": "/users",
- "verb": "GET"
}, - {
- "basePath": "/ecl-nova",
- "ipAddress": "*/*",
- "path": "/*",
- "verb": "GET"
}
]
}
Delete IAM Role
Overview
- Delete designated IAM Role. Only super user (contract owner user) can use this API.
Classification
- Delete
API Operation Object
- IAM ( API Permission Management )
Synchronous / Asynchronous
- Synchronous
Authorizations:
path Parameters
iam_role_id required | string Target IAM Role ID |
Responses
No Content
Invalid request
Unauthorized
Not permitted for this user
Not found a specified resource
Method not allowed
Designated resource conflicted with existing resource
GL1 Endpoint
Regional Endpoint
Response samples
- 401
{- "code": 401,
- "title": "Unauthorized",
- "message": "Invalid token."
}
Update IAM Role
Overview
- Update IAM Role in the designated contract.
Classification
- Update
API Operation Object
- IAM ( API Permission Management )
Synchronous / Asynchronous
- Synchronous
Authorizations:
path Parameters
iam_role_id required | string Target IAM Role ID |
Request Body schema: application/json
iam_role_name | string [ 3 .. 60 ] characters The IAM Role ID |
description | string <= 255 characters Description of the IAM Role |
resources | Array of objects Whitelist rules of API execution.(A user can define any rule by using follow parameters. ) |
Responses
No Content
Invalid request
Unauthorized
Not permitted for this user
Not found a specified resource
Method not allowed
Designated resource conflicted with existing resource
GL1 Endpoint
Regional Endpoint
Request samples
- Payload
{- "iam_role_name": "test_role",
- "description": "test role",
- "resources": [
- {
- "ipAddress": "*",
- "basePath": "*",
- "path": "*",
- "verb": "*"
}
]
}
Response samples
- 401
{- "code": 401,
- "title": "Unauthorized",
- "message": "Invalid token."
}
Assignment of IAM Role to IAM Group
Overview
- Assignment of the IAM Role to the IAM Group.
Classification
- Update
API Operation Object
- IAM ( API Permission Management )
Synchronous / Asynchronous
- Synchronous
Authorizations:
path Parameters
iam_group_id required | string Target IAM Group ID |
iam_role_id required | string Target IAM Role ID |
Responses
Created
Invalid request
Unauthorized
Not permitted for this user
Not found a specified resource
Method not allowed
Designated resource conflicted with existing resource
GL1 Endpoint
Regional Endpoint
Response samples
- 201
- 401
{- "iam_group_id": "xxxx-xxxx-xxxx-xxxx-xxxx",
- "iam_group_name": "group_name",
- "iam_role_id": "yyyyy-yyyy-yyyy-yyyy-yyyy",
- "iam_role_name": "role_name"
}
Delete Assignment of IAM Role to IAM Group
Overview
- Assignment of the IAM Role to the IAM Group.
Classification
- Delete
API Operation Object
- IAM ( API Permission Management )
Synchronous / Asynchronous
- Synchronous
Authorizations:
path Parameters
iam_group_id required | string Target IAM Group ID |
iam_role_id required | string Target IAM Role ID |
Responses
No Content
Invalid request
Unauthorized
Not permitted for this user
Not found a specified resource
Method not allowed
Designated resource conflicted with existing resource
GL1 Endpoint
Regional Endpoint
Response samples
- 401
{- "code": 401,
- "title": "Unauthorized",
- "message": "Invalid token."
}
Assignment of User to IAM Group
Overview
- Assignment of the User to the IAM Group.
Classification
- Update
API Operation Object
- IAM ( API Permission Management )
Synchronous / Asynchronous
- Synchronous
Authorizations:
path Parameters
iam_group_id required | string Target IAM Group ID |
user_id required | string Target User ID (ecid) |
Responses
Created
Invalid request
Unauthorized
Not permitted for this user
Not found a specified resource
Method not allowed
GL1 Endpoint
Regional Endpoint
Response samples
- 201
- 401
{- "iam_group_id": "xxxx-xxxx-xxxx-xxxx-xxxx",
- "iam_group_name": "group_name",
- "user_id": "ecidXXXXXXXXXX",
- "api_availability": true
}
Delete Assignment of User to IAM Group
Overview
- Delete Assignment of the User to the IAM Group.
Classification
- Delete
API Operation Object
- IAM ( API Permission Management )
Synchronous / Asynchronous
- Synchronous
Authorizations:
path Parameters
iam_group_id required | string Target IAM Group ID |
user_id required | string Target User ID (ecid) |
Responses
No Content
Invalid request
Unauthorized
Not permitted for this user
Not found a specified resource
Method not allowed
Designated resource conflicted with existing resource
GL1 Endpoint
Regional Endpoint
Response samples
- 401
{- "code": 401,
- "title": "Unauthorized",
- "message": "Invalid token."
}
Delete IAM Group
Overview
- Delete designated IAM Group. Only super user (contract owner user) can use this API.
Classification
- Delete
API Operation Object
- IAM ( API Permission Management )
Synchronous / Asynchronous
- Synchronous
Authorizations:
path Parameters
iam_group_id required | string Target IAM Group ID |
Responses
No Content
Invalid request
Unauthorized
Not permitted for this user
Not found a specified resource
Method not allowed
Designated resource conflicted with existing resource
GL1 Endpoint
Regional Endpoint
Response samples
- 401
{- "code": 401,
- "title": "Unauthorized",
- "message": "Invalid token."
}
Update IAM Group
Overview
- Update IAM Group in the designated contract.
Classification
- Update
API Operation Object
- IAM ( API Permission Management )
Synchronous / Asynchronous
- Synchronous
Authorizations:
path Parameters
iam_group_id required | string Target IAM Group ID |
Request Body schema: application/json
iam_group_name | string [ 3 .. 60 ] characters IAM Group name. Alphanumeric characters and @, -, ., _ can be used. String length must be between 3 and 60 characters. |
description | string <= 255 characters Description of the IAM Group. String must be less than 255 characters |
Responses
No Content
Invalid request
Unauthorized
Not permitted for this user
Not found a specified resource
Method not allowed
Designated resource conflicted with existing resource
GL1 Endpoint
Regional Endpoint
Request samples
- Payload
{- "iam_group_name": "string",
- "description": "string"
}
Response samples
- 401
{- "code": 401,
- "title": "Unauthorized",
- "message": "Invalid token."
}
List Approval Requests
Overview
- Get a list of approval requests.
Classification
- List
API Operation Object
- Approval
Synchronous / Asynchronous
- Synchronous
Authorizations:
query Parameters
status | string Enum: "registered" "approved" "denied" "cancelled" "expired" "approval_expired" Setting status of approval request for searching. |
service | string Setting status of service name for searching. (e.g. sss, network) |
status_update_time_from | string Setting date and time of inactive approval requests whose status has changed after the specified date and time (including the specified date and time) for searching. (format: YYYYMMDDhhmmss, e.g. 20220101000000) |
status_update_time_to | string Setting date and time of inactive approval requests whose status has changed before the specified date and time (including the specified date and time) for searching. (format: YYYYMMDDhhmmss, e.g. 20220101000000) |
contract_id | string Contract ID (For partner user only). |
Responses
Success
Invalid request
Unauthorized
Not permitted for this user
Not found a specified resource
Method not allowed
GL1 Endpoint
Regional Endpoint
Response samples
- 200
- 401
{- "approval_requests": [
- {
- "request_id": "req000000XXXX",
- "external_request_id": "test007",
- "approver_type": "tenant_owner",
- "approver_id": "11a98bf9cb144af5a204c9da566d2bd0",
- "request_user_id": "ecid1000XXXXXX",
- "service": "network",
- "actions": [
- {
- "service": "network",
- "region": "jp1",
- "api_path": "/network/v1/firewall",
- "method": "POST",
- "body": "request's body json"
}
], - "descriptions": [
- {
- "lang": "en",
- "text": "approval request test"
}
], - "request_user": false,
- "approver": true,
- "approval_deadline": "2017-02-05 09:45:22",
- "approval_expire": null,
- "registered_time": "2017-01-31 07:43:13",
- "updated_time": null,
- "status": "registered",
- "status_updated_time": "2017-02-03 09:03:22"
}, - {
- "request_id": "req0000000XXX",
- "external_request_id": "test006",
- "approver_type": "tenant_owner",
- "approver_id": "66a98bf9cb1238192a204c9da566dbd0",
- "request_user_id": "ecid1000XXXXXX",
- "service": "network",
- "actions": [
- {
- "service": "network",
- "region": "jp1",
- "api_path": "/network/v1/firewall",
- "method": "POST",
- "body": "request's body json"
}
], - "descriptions": [
- {
- "lang": "en",
- "text": "approval request test"
}
], - "request_user": false,
- "approver": true,
- "approval_deadline": "2016-12-25 09:45:22",
- "approval_expire": null,
- "registered_time": "2016-12-13 02:20:21",
- "updated_time": null,
- "status": "expired",
- "status_updated_time": "2017-02-03 09:03:22"
}
]
}
Get Approval Request
Overview
- Get information of approval request.
Classification
- Get
API Operation Object
- Approval
Synchronous / Asynchronous
- Synchronous
Authorizations:
path Parameters
request_id required | string Target Request ID |
Responses
Success
Invalid request
Unauthorized
Not permitted for this user
Not found a specified resource
Method not allowed
GL1 Endpoint
Regional Endpoint
Response samples
- 200
- 401
{- "request_id": "req000000XXXX",
- "external_request_id": "test007",
- "approver_type": "tenant_owner",
- "approver_id": "11a98bf9cb144af5a204c9da566d2bd0",
- "request_user_id": "ecid1000XXXXXX",
- "service": "network",
- "actions": [
- {
- "service": "network",
- "region": "jp1",
- "api_path": "/network/v1/firewall",
- "method": "POST",
- "body": "request's body json"
}
], - "descriptions": [
- {
- "lang": "en",
- "text": "approval request test"
}
], - "request_user": true,
- "approver": true,
- "approval_deadline": "2017-02-05 09:45:22",
- "approval_expire": null,
- "registered_time": "2017-01-31 07:43:13",
- "updated_time": null,
- "status": "registered",
- "status_updated_time": "2017-02-03 09:03:22"
}
Update Approval Request
Overview
- Update status of approval request.
Classification
- Update
API Operation Object
- Approval
Synchronous / Asynchronous
- Synchronous
Authorizations:
path Parameters
request_id required | string Target Request ID |
Request Body schema: application/json
status | string Enum: "approved" "cancelled" "denied" Modify status of the approval request. Request's status can only change from 'registered' |
Responses
No Content
Invalid request
Unauthorized
Not permitted for this user
Not found a specified resource
Method not allowed
Designated resource conflicted with existing resource
GL1 Endpoint
Regional Endpoint
Request samples
- Payload
{- "status": "approved"
}
Response samples
- 401
{- "code": 401,
- "title": "Unauthorized",
- "message": "Invalid token."
}
Billing API v1 is no longer available; please use Billing API v2. Please refer to this link for details.
Get Result of Transaction
Overview
- Get the result of the transaction.
Classification
- Get
API Operation Object
- Transaction
Synchronous / Asynchronous
- Synchronous
Authorizations:
path Parameters
transaction_id required | string The transaction ID getting result |
Responses
Success
Invalid request
Unauthorized
Not permitted for this user
Not found a specified resource
Method not allowed
GL1 Endpoint
Regional Endpoint
Response samples
- 200
- 401
{- "status": "inprogress"
}
Create Contract Group (For partner user only)
Overview
- Create a new contract group under designated Contract Group.
Classification
- Create
API Operation Object
- Contract Group
Synchronous / Asynchronous
- Synchronous
Authorizations:
Request Body schema: application/json
parent_contract_group_id required | string Parent contract group ID of this contract group |
contract_group_name required | string Name for this contract group. 1-255 alphanumerical and @-._ characters are allowed. |
description | string Descriptions for this contract group. String must be less than 255 characters |
Responses
Created
Invalid request
Unauthorized
Not permitted for this user
Not found a specified resource
Method not allowed
Designated resource conflicted with existing resource
GL1 Endpoint
Regional Endpoint
Request samples
- Payload
{- "parent_contract_group_id": "ecgrXXXXXXXX",
- "contract_group_name": "new_group",
- "description": "new group"
}
Response samples
- 201
- 401
{- "contract_id": "econXXXXXXXX",
- "parent_contract_group_id": "ecgrXXXXXXXX",
- "contract_group_id": "ecgrXXXXXXXX",
- "contract_group_name": "string",
- "description": "string"
}
List Contract Group (For partner user only)
Overview
- Show a list of contract groups.
Classification
- List
API Operation Object
- Contract Group
Synchronous / Asynchronous
- Synchronous
Authorizations:
query Parameters
contract_id required | string Target contract of this API |
Responses
Success
Invalid request
Unauthorized
Not permitted for this user
Not found a specified resource
Method not allowed
Designated resource conflicted with existing resource
GL1 Endpoint
Regional Endpoint
Response samples
- 200
- 401
{- "contract_id": "econXXXX",
- "contract_group": {
- "contract_group_id": "ecgrXXXX",
- "contract_group_name": "XXXX",
- "description": "XXXX",
- "contract_groups": [
- {
- "contract_group_id": "ecgrXXXX",
- "contract_group_name": "XXXX",
- "description": "XXXX",
- "contract_groups": [ ]
}
]
}
}
Update Contract Group (For partner user only)
Overview
- Modify existing contract group's name and / or descriptions.
Classification
- Update
API Operation Object
- Contract Group
Synchronous / Asynchronous
- Synchronous
Authorizations:
path Parameters
contract_group_id required | string Target Contract Group ID |
Request Body schema: application/json
contract_group_name | string New name for this contract group. 1-255 alphanumerical and @-._ characters are allowed. |
description | string New descriptions for this contract group. String must be less than 255 characters |
Responses
No Content
Invalid request
Unauthorized
Not permitted for this user
Not found a specified resource
Method not allowed
Designated resource conflicted with existing resource
GL1 Endpoint
Regional Endpoint
Request samples
- Payload
{- "contract_group_name": "update_group",
- "description": "update group"
}
Response samples
- 401
{- "code": 401,
- "title": "Unauthorized",
- "message": "Invalid token."
}
Delete Contract Group (For partner user only)
Overview
- Delete contract group.
Classification
- Delete
API Operation Object
- Contract Group
Synchronous / Asynchronous
- Synchronous
Authorizations:
path Parameters
contract_group_id required | string Target Contract Group ID |
Responses
No Content
Invalid request
Unauthorized
Not permitted for this user
Not found a specified resource
Method not allowed
Designated resource conflicted with existing resource
GL1 Endpoint
Regional Endpoint
Response samples
- 401
{- "code": 401,
- "title": "Unauthorized",
- "message": "Invalid token."
}
Get Contract Group (For partner user only)
Overview
- Get the details of target contract group.
Classification
- Get
API Operation Object
- Contract Group
Synchronous / Asynchronous
- Synchronous
Authorizations:
path Parameters
contract_group_id required | string Target Contract Group ID |
Responses
Success
Invalid request
Unauthorized
Not permitted for this user
Not found a specified resource
Method not allowed
Designated resource conflicted with existing resource
GL1 Endpoint
Regional Endpoint
Response samples
- 200
- 401
{- "contract_group_id": "ecgrXXXX",
- "contract_group_name": "XXXX",
- "description": "XXXX",
- "start_time": "2000-01-01 00:00:00",
- "contracts": [
- {
- "contract_id": "econXXXX",
- "status": "deleted",
- "customer_number": "XXXXXXXX",
- "start_time": "2000-01-01 00:00:00",
- "end_time": "2001-12-31 23:59:59",
- "channel_id": "chXXXX",
- "channel_name": "XXXXXXXX"
}
], - "users": [
- {
- "user_id": "ecidXXXX01",
- "contract_owner": true
}
]
}
Assign Contract to Contract Group (For partner user only)
Overview
- Assign a contract access authority to contract group. Users in the contract group can access to contracts assigned to the group they are in.
Classification
- Modify
API Operation Object
- Contract Group
- Contract
Synchronous / Asynchronous
- Synchronous
Authorizations:
path Parameters
contract_group_id required | string Target Contract Group ID |
contract_id required | string Target Contract ID |
Responses
No Content
Invalid request
Unauthorized
Not permitted for this user
Not found a specified resource
Method not allowed
Designated resource conflicted with existing resource
GL1 Endpoint
Regional Endpoint
Response samples
- 401
{- "code": 401,
- "title": "Unauthorized",
- "message": "Invalid token."
}
Delete Contract from Contract Group (For partner user only)
Overview
- Delete a contract access authority from contract group. Users in the contract group cannot access to the contract once contract is deleted from groups they belong to.
Classification
- Delete
API Operation Object
- Contract Group
Synchronous / Asynchronous
- Synchronous
Authorizations:
path Parameters
contract_group_id required | string Target Contract Group ID |
contract_id required | string Target Contract ID |
Responses
No Content
Invalid request
Unauthorized
Not permitted for this user
Not found a specified resource
Method not allowed
Designated resource conflicted with existing resource
GL1 Endpoint
Regional Endpoint
Response samples
- 401
{- "code": 401,
- "title": "Unauthorized",
- "message": "Invalid token."
}
Put User to Contract Group (For partner user only)
Overview
- Put a user into a contract group. User and contract group need to be in the same contract, and contract owner must be in the root contract group(cannot move).
Classification
- Update
API Operation Object
- Contract Group
- User
Synchronous / Asynchronous
- Synchronous
Authorizations:
path Parameters
contract_group_id required | string Target Contract Group ID |
user_id required | string User's ID put into this contract group |
Responses
No Content
Invalid request
Unauthorized
Not permitted for this user
Not found a specified resource
Method not allowed
Designated resource conflicted with existing resource
GL1 Endpoint
Regional Endpoint
Response samples
- 401
{- "code": 401,
- "title": "Unauthorized",
- "message": "Invalid token."
}
List User Type
Overview
- Show User Type List in the designated contract.
Classification
- List
API Operation Object
- IAM ( User Type Management )
Synchronous / Asynchronous
- Synchronous
Authorizations:
query Parameters
contract_id required | string Contract ID that you want to get User Type List. |
Responses
Success
Invalid request
Unauthorized
Not permitted for this user
Not found a specified resource
Method not allowed
GL1 Endpoint
Regional Endpoint
Response samples
- 200
- 401
{- "users": [
- {
- "user_id": "ecidXXXX",
- "contract_owner": true,
- "super_user": true
}, - {
- "user_id": "ecidXXXX",
- "contract_owner": false,
- "super_user": true
}, - {
- "user_id": "ecidXXXX",
- "contract_owner": false,
- "super_user": true,
- "grant": [
- "user",
- "tenant"
]
}, - {
- "user_id": "ecidXXXX",
- "contract_owner": false,
- "super_user": false
}
]
}
Get User Type Information
Overview
- Show User Type Detail Information of the designated user.
Classification
- Get
API Operation Object
- IAM ( User Type Management )
Synchronous / Asynchronous
- Synchronous
Authorizations:
path Parameters
user_id required | string Target User ID |
Responses
Success
Invalid request
Unauthorized
Not permitted for this user
Not found a specified resource
Method not allowed
GL1 Endpoint
Regional Endpoint
Response samples
- 200
- 401
{- "user_id": "ecidXXXX",
- "contract_owner": false,
- "super_user": true,
- "grant": [
- "user",
- "tenant"
]
}
Update User Type
Overview
- Update the designated user's User Type.
Classification
- Update
API Operation Object
- IAM ( User Type Management )
Synchronous / Asynchronous
- Synchronous
Additional Info
- You can set following portal control items as elements in
grant
array
item | description |
---|---|
user | User Management |
tenant | Tenant Management |
billing | Usage Fee Information Management |
iam_api | API Permission Management |
iam_user_type | User Type Management |
iam_contract_group | Contract Group Management ( partner user only ) |
Authorizations:
path Parameters
user_id required | string Target User ID |
Request Body schema: application/json
super_user required | boolean The Flag that indicate whether Super User or not |
grant | Array of strings Items Enum: "user" "tenant" "iam_contract_group" "billing" "iam_api" "iam_user_type" "iam_menu" Portal control items which the user will be granted. |
Responses
No Content
Invalid request
Unauthorized
Not permitted for this user
Not found a specified resource
Method not allowed
Designated resource conflicted with existing resource
GL1 Endpoint
Regional Endpoint
Request samples
- Payload
{- "super_user": true,
- "grant": [
- "user",
- "tenant"
]
}
Response samples
- 400
- 401
{- "code": 400,
- "title": "Bad Request",
- "message": "Parameter : Grant does not contain required operation auth ID. Insufficient operation auth ID list for tenant operation: [user]",
- "error_code": "RequiredOperationAuthInsufficient:tenant:user"
}
List Notification of User
Overview
- List notification settings in the designated user.
Classification
- List
API Operation Object
- Notification
Synchronous / Asynchronous
- Synchronous
Authorizations:
path Parameters
user_id required | string Target User ID |
Responses
Success
Invalid request
Unauthorized
Not permitted for this user
Not found a specified resource
Method not allowed
GL1 Endpoint
Regional Endpoint
Response samples
- 200
- 401
{- "user_id": "ecid999999",
- "notification_types": [
- {
- "notification_type": "trouble",
- "editable": true,
- "status": true,
- "tenants": [
- {
- "tenant_id": "9999999991",
- "tenant_name": "tenantA",
- "contract_id": "econ9999999001",
- "status": true
}, - {
- "tenant_id": "9999999992",
- "tenant_name": "tenantB",
- "contract_id": "econ9999999002",
- "status": false
}
]
}, - {
- "notification_type": "sales",
- "editable": true,
- "status": false
}
]
}
Change Notification Settings of User
Overview
- Change notification settings in the designated user.
Classification
- Update
API Operation Object
- Notification
Synchronous / Asynchronous
- Synchronous
Authorizations:
path Parameters
user_id required | string Target User ID |
Request Body schema: application/json
notification_types required | Array of objects Array of notification settings |
Responses
No Content
Invalid request
Unauthorized
Not permitted for this user
Not found a specified resource
Method not allowed
GL1 Endpoint
Regional Endpoint
Request samples
- Payload
{- "notification_types": [
- {
- "notification_type": "maintenance",
- "status": true,
- "tenants": [
- {
- "tenant_id": "xxxxx",
- "status": true
}, - {
- "tenant_id": "yyyyy",
- "status": false
}
]
}, - {
- "notification_type": "sales",
- "status": false
}
]
}
Response samples
- 401
{- "code": 401,
- "title": "Unauthorized",
- "message": "Invalid token."
}
List Notifications of Contracts (For partner user only)
Overview
- Notification settings of the designated contract.This API can be used by Partner user only.
Classification
- List
API Operation Object
- Notification
Synchronous / Asynchronous
- Synchronous
Authorizations:
path Parameters
contract_id required | string Target Contract ID |
Responses
Success
Invalid request
Unauthorized
Not permitted for this user
Not found a specified resource
Method not allowed
GL1 Endpoint
Regional Endpoint
Response samples
- 200
- 401
{- "contract_id": "econ9999999999",
- "notification_types": [
- {
- "notification_type": "trouble",
- "editable": false,
- "status": false,
- "stopped_by": "ecid999997"
}, - {
- "notification_type": "agreement",
- "editable": true,
- "status": false,
- "stopped_by": "ecid999998"
}, - {
- "notification_type": "sales",
- "editable": true,
- "status": true,
- "stopped_by": null
}
]
}
Change Notification Settings of Contract(For partner user only)
Overview
- Change notification setting in the designnated contract. This API can be used by Partner user only.
Classification
- Update
API Operation Object
- Notification
Synchronous / Asynchronous
- Synchronous
Authorizations:
path Parameters
contract_id required | string Target Contract ID |
Request Body schema: application/json
notification_types required | Array of objects Array of notificaton settings |
Responses
No Content
Invalid request
Unauthorized
Not permitted for this user
Not found a specified resource
Method not allowed
Designated resource conflicted with existing resource
GL1 Endpoint
Regional Endpoint
Request samples
- Payload
{- "notification_types": [
- {
- "notification_type": "maintenance",
- "status": true
}, - {
- "notification_type": "sales",
- "status": false
}
]
}
Response samples
- 401
{- "code": 401,
- "title": "Unauthorized",
- "message": "Invalid token."
}