新增设备品牌
开发中
POST
/app/submission/deviceBrand/add
请求参数
Header 参数
submissionKey
string
必需
示例值:
{{submissionKey}}
token
string
必需
示例值:
{{token}}
Body 参数application/json
number
string
编号
name
string
必需
icon
string
必需
country
string
必需
deviceTypeId
integer
必需
website
string
必需
contactInformation
string
必需
distributor
string
必需
descr
string
必需
示例
{
"number": "99",
"name": "锐刚",
"icon": "https://avatars.githubusercontent.com/u/22732393",
"country": "non pariatur",
"deviceTypeId": 74,
"website": "commodo Duis esse labore sint",
"contactInformation": "ut",
"distributor": "reprehenderit nisi ex exercitation",
"descr": "proident ex fugiat do voluptate"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://gateway249.kiwismart.top/app/app/submission/deviceBrand/add' \
--header 'submissionKey: {{submissionKey}}' \
--header 'token: {{token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"number": "99",
"name": "锐刚",
"icon": "https://avatars.githubusercontent.com/u/22732393",
"country": "non pariatur",
"deviceTypeId": 74,
"website": "commodo Duis esse labore sint",
"contactInformation": "ut",
"distributor": "reprehenderit nisi ex exercitation",
"descr": "proident ex fugiat do voluptate"
}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
msg
string
必需
data
object
必需
id
integer
必需
number
string
必需
name
string
必需
icon
string
必需
country
string
必需
deviceTypeId
integer
必需
website
string
必需
contactInformation
string
必需
distributor
string
必需
descr
string
必需
示例
{
"code": 200,
"msg": "操作成功",
"data": {
"id": 1419336925118464,
"name": "锐刚",
"englishName": "励梓豪",
"number": "85",
"sortOrder": 76,
"descr": "sed",
"ecologicalProject": "mollit nulla cillum ut elit",
"personInCharge": "voluptate pariatur",
"icon": "https://avatars.githubusercontent.com/u/63522161"
}
}
修改于 2024-11-26 06:33:33