发票云创建组织
快速开始环境
快速开始环境
POST
/sim/openApi
请求参数
Body 参数application/json
requestId
string
必需
businessSystemCode
string
必需
interfaceCode
enum<string>
必需
枚举值:
YYPT.ADD.ORG
data
object
必需
companyName
string
必需
taxNo
string
必需
systemSource
string
必需
callbackUrl
string
回调地址
taxChannel
string
必需
productName
string
必需
collectChannel
string
必需
tenantInfo
object
必需
taxUserList
array [object {2}]
必需
示例
{
"requestId": "string",
"businessSystemCode": "string",
"interfaceCode": "YYPT.ADD.ORG",
"data": {
"companyName": "string",
"taxNo": "string",
"systemSource": "string",
"callbackUrl": "string",
"taxChannel": "string",
"productName": "string",
"collectChannel": "string",
"tenantInfo": {
"clientId": "string",
"clientSecret": "string",
"encryptKey": "string",
"tenantName": "string",
"tenantNo": "string"
},
"taxUserList": [
{
"etaxPassword": "string",
"etaxAccount": "string"
}
]
}
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://cosmic-sandbox.piaozone.com/jdpjykjyxgs/sim/openApi' \
--header 'Content-Type: application/json' \
--data-raw ''
返回响应
🟢200成功
application/json
Body
data
object
必需
requestUrl
string
必需
appId
string
必需
appSecuret
string
必需
accountId
string
必需
user
string
必需
aesKey
string
必需
businessSystemCode
string
必需
userType
string
必需
errorCode
string
必需
status
boolean
必需
success
boolean
必需
示例
{
"data": {
"requestUrl": "string",
"appId": "string",
"appSecuret": "string",
"accountId": "string",
"user": "string",
"aesKey": "string",
"businessSystemCode": "string",
"userType": "string"
},
"errorCode": "string",
"status": true,
"success": true
}
修改于 2024-02-22 10:35:44