POST api/ZaloOAInfo?api={api}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| api | string |
Required |
Body Parameters
OAZaloInfoModelAdd| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
id (api tự sinh) |
string |
None. |
| idkey |
id key (api tự sinh) |
string |
None. |
| idpartner |
id đối tác |
string |
None. |
| oaid |
oaid key (api tự sinh) |
string |
None. |
| name |
Tên của OA |
string |
None. |
| description |
Mô tả của OA |
string |
None. |
| oa_alias |
Tên gợi nhớ dùng cho đường dẫn OA |
string |
None. |
| is_verified |
Trạng thái xác thực của OA Các giá trị trả về: false: OA chưa được xác thực true: OA đã xác thực |
boolean |
None. |
| oa_type |
Loại OA: 2: OA Doanh nghiệp 4: OA Cơ quan nhà nước |
integer |
None. |
| cate_name |
Danh mục hoạt động của OA |
string |
None. |
| num_follower |
Tổng số người quan tâm của OA |
integer |
None. |
| avatar |
Đường dẫn đến ảnh đại diện của OA |
string |
None. |
| cover |
Đường dẫn đến ảnh bìa của OA |
string |
None. |
| package_name |
Tên gói dịch vụ Chỉ Loại OA Doanh nghiệp mới trả về thông tin này |
string |
None. |
| package_valid_through_date |
Ngày hiệu lực cuối cùng của gói dịch vụ Chỉ OA đang sử dụng gói dịch vụ OA mới có thông tin này |
string |
None. |
| package_auto_renew_date |
Ngày thực hiện gia hạn tự động Chỉ OA đang sử dụng gói dịch vụ OA và có bật tự động gia hạn mới có thông tin này. |
string |
None. |
| linked_ZCA |
Thông tin ZCA mà OA đang liên kết Chỉ OA đang liên kết ví ZCA mới có thông tin này. |
string |
None. |
| fulltime |
Ngày tạo |
integer |
None. |
| access_token |
Token |
string |
None. |
| refresh_token |
Token |
string |
None. |
| expires_in |
Token |
integer |
None. |
Request Formats
application/json, text/json
{
"id": "sample string 1",
"idkey": "sample string 2",
"idpartner": "sample string 3",
"oaid": "sample string 4",
"name": "sample string 5",
"description": "sample string 6",
"oa_alias": "sample string 7",
"is_verified": true,
"oa_type": 9,
"cate_name": "sample string 10",
"num_follower": 11,
"avatar": "sample string 12",
"cover": "sample string 13",
"package_name": "sample string 14",
"package_valid_through_date": "sample string 15",
"package_auto_renew_date": "sample string 16",
"linked_ZCA": "sample string 17",
"fulltime": 1,
"access_token": "sample string 18",
"refresh_token": "sample string 19",
"expires_in": 1
}
application/xml, text/xml
<OAZaloInfoModelAdd xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models.Customers"> <access_token>sample string 18</access_token> <avatar>sample string 12</avatar> <cate_name>sample string 10</cate_name> <cover>sample string 13</cover> <description>sample string 6</description> <expires_in>1</expires_in> <fulltime>1</fulltime> <id>sample string 1</id> <idkey>sample string 2</idkey> <idpartner>sample string 3</idpartner> <is_verified>true</is_verified> <linked_ZCA>sample string 17</linked_ZCA> <name>sample string 5</name> <num_follower>11</num_follower> <oa_alias>sample string 7</oa_alias> <oa_type>9</oa_type> <oaid>sample string 4</oaid> <package_auto_renew_date>sample string 16</package_auto_renew_date> <package_name>sample string 14</package_name> <package_valid_through_date>sample string 15</package_valid_through_date> <refresh_token>sample string 19</refresh_token> </OAZaloInfoModelAdd>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
DataInsert| Name | Description | Type | Additional information |
|---|---|---|---|
| status | string |
None. |
|
| message | string |
None. |
|
| id | string |
None. |
|
| code | string |
None. |
|
| code1 | string |
None. |
|
| strprint | string |
None. |
Response Formats
application/json, text/json
{
"status": "sample string 1",
"message": "sample string 2",
"id": "sample string 3",
"code": "sample string 4",
"code1": "sample string 5",
"strprint": "sample string 6"
}
text/javascript, application/javascript, application/json-p
/**/ typeof === 'function' && ({"status":"sample string 1","message":"sample string 2","id":"sample string 3","code":"sample string 4","code1":"sample string 5","strprint":"sample string 6"});
application/xml, text/xml
<DataInsert xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models"> <code>sample string 4</code> <code1>sample string 5</code1> <id>sample string 3</id> <message>sample string 2</message> <status>sample string 1</status> <strprint>sample string 6</strprint> </DataInsert>