Bajie Charging
  1. Shop
Bajie Charging
  • Open API
    • 1.Get Device Info
      GET
    • 2.Create Rent Order
      POST
    • 3.Query Rent Order Status
      POST
    • 4.Mark order status as completed
      POST
    • 5.Get Order Detail
      GET
    • 6.Get Deivice List
      POST
  • Advance API
    • Cabinet
      • Device Operation
      • eject the battery for the specified device slot by repair
      • Rent and eject the battery for the specified device slot
      • Query All Device List
      • Query details based on Device Id
      • get device list by shop id
      • get all device list by page
      • Query battery list based on Device Id
      • Query slot list based on Device Id
      • binding device to shop
      • Update cabinet advertising information
    • Shop
      • get all shop list
        GET
      • get shop detail
        GET
      • create new shop
        POST
      • update shop
        PUT
      • Delete shop
        DELETE
    • PriceStrategy
      • 1.Get Price Strategy Page
      • 2.Get Price Strategy Detail
      • 3.Create Or Update Price Strategy
      • 4.Delete Price Strategy
      • 5.Shop Bind Price Strategy
      • 6.Shop Unbind Price Strategy
    • Order
      • Order list
  • Cabinet Event Push
    • Cabinet Event Push Config
      POST
    • GET Cabinet Event Push Config
      GET
    • Cabinet Event Push
      POST
  1. Shop

create new shop

Production
https://developer.chargenow.top/cdb-open-api/v1
Production
https://developer.chargenow.top/cdb-open-api/v1
POST
https://developer.chargenow.top/cdb-open-api/v1
/shop/create
shop-controller
create new shop

Request

Authorization
Send your HTTP requests with an
Authorization
header that contains the word Basic followed by a space and a base64-encoded string username:password
Example:
Authorization: Basic *****************
Header Params
Authorization
string 
optional
Example:
Basic dGVzdDp0ZXN0
Body Params application/json
mmxCstc
integer <int32>
optional
mmxDptc
integer <int32>
optional
mmxPttc
integer <int32>
optional
mmxQytc
integer <int32>
optional
mmxSftc
integer <int32>
optional
mmxYwtc
integer <int32>
optional
pAccrossLevel
string 
optional
pAddid
string 
optional
pAddress
string 
optional
pAddtime
string <date-time>
optional
pAdminName
string 
optional
pAuditor
integer <int32>
optional
pBatteryLow
integer <int32>
optional
pCancelAddId
string 
optional
pCancelTime
string <date-time>
optional
pChaoshiFc
string 
optional
pContent
string 
optional
pCsid
string 
optional
pCstc
integer <int32>
optional
pCurrency
string 
optional
pDpid
string 
optional
pDptc
integer <int32>
optional
pFengding
number 
optional
pHash
string 
optional
pIcon
string 
optional
pId
integer <int32>
optional
pJifei
number 
optional
pJifeiDanwei
string 
optional
pJingdu
string 
optional
pLocationId
string 
optional
pLogo
string 
optional
pMian
integer <int32>
optional
pMobile
string 
optional
pName
string 
optional
pNewid
string 
optional
pPriceid
integer <int32>
optional
pPtid
string 
optional
pPttc
integer <int32>
optional
pQu
string 
optional
pQyid
string 
optional
pQytc
integer <int32>
optional
pSceneType
string 
optional
pSfid
string 
optional
pSftc
integer <int32>
optional
pSheng
string 
optional
pShi
string 
optional
pStoreCategory
integer <int32>
optional
pStoreType
integer <int32>
optional
pTime
string 
optional
pType
boolean 
optional
pWeidu
string 
optional
pWxfType
integer <int32>
optional
pYajin
number 
optional
pYajinType
integer <int32>
optional
pYwid
string 
optional
pYwtc
integer <int32>
optional
pZitui
integer <int32>
optional
pZujienum
integer <int32>
optional
picon
string 
optional
reportCountJson
string 
optional
transMap
object 
optional
Additional properties
string 
optional
Example
{
    "mmxCstc": 0,
    "mmxDptc": 0,
    "mmxPttc": 0,
    "mmxQytc": 0,
    "mmxSftc": 0,
    "mmxYwtc": 0,
    "pAccrossLevel": "string",
    "pAddid": "string",
    "pAddress": "string",
    "pAddtime": "2019-08-24T14:15:22Z",
    "pAdminName": "string",
    "pAuditor": 0,
    "pBatteryLow": 0,
    "pCancelAddId": "string",
    "pCancelTime": "2019-08-24T14:15:22Z",
    "pChaoshiFc": "string",
    "pContent": "string",
    "pCsid": "string",
    "pCstc": 0,
    "pCurrency": "string",
    "pDpid": "string",
    "pDptc": 0,
    "pFengding": 0,
    "pHash": "string",
    "pIcon": "string",
    "pId": 0,
    "pJifei": 0,
    "pJifeiDanwei": "string",
    "pJingdu": "string",
    "pLocationId": "string",
    "pLogo": "string",
    "pMian": 0,
    "pMobile": "string",
    "pName": "string",
    "pNewid": "string",
    "pPriceid": 0,
    "pPtid": "string",
    "pPttc": 0,
    "pQu": "string",
    "pQyid": "string",
    "pQytc": 0,
    "pSceneType": "string",
    "pSfid": "string",
    "pSftc": 0,
    "pSheng": "string",
    "pShi": "string",
    "pStoreCategory": 0,
    "pStoreType": 0,
    "pTime": "string",
    "pType": true,
    "pWeidu": "string",
    "pWxfType": 0,
    "pYajin": 0,
    "pYajinType": 0,
    "pYwid": "string",
    "pYwtc": 0,
    "pZitui": 0,
    "pZujienum": 0,
    "picon": "string",
    "reportCountJson": "string",
    "transMap": {
        "property1": "string",
        "property2": "string"
    }
}

Request 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://developer.chargenow.top/cdb-open-api/v1/shop/create' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic Og==' \
--data-raw '{
    "mmxCstc": 0,
    "mmxDptc": 0,
    "mmxPttc": 0,
    "mmxQytc": 0,
    "mmxSftc": 0,
    "mmxYwtc": 0,
    "pAccrossLevel": "string",
    "pAddid": "string",
    "pAddress": "string",
    "pAddtime": "2019-08-24T14:15:22Z",
    "pAdminName": "string",
    "pAuditor": 0,
    "pBatteryLow": 0,
    "pCancelAddId": "string",
    "pCancelTime": "2019-08-24T14:15:22Z",
    "pChaoshiFc": "string",
    "pContent": "string",
    "pCsid": "string",
    "pCstc": 0,
    "pCurrency": "string",
    "pDpid": "string",
    "pDptc": 0,
    "pFengding": 0,
    "pHash": "string",
    "pIcon": "string",
    "pId": 0,
    "pJifei": 0,
    "pJifeiDanwei": "string",
    "pJingdu": "string",
    "pLocationId": "string",
    "pLogo": "string",
    "pMian": 0,
    "pMobile": "string",
    "pName": "string",
    "pNewid": "string",
    "pPriceid": 0,
    "pPtid": "string",
    "pPttc": 0,
    "pQu": "string",
    "pQyid": "string",
    "pQytc": 0,
    "pSceneType": "string",
    "pSfid": "string",
    "pSftc": 0,
    "pSheng": "string",
    "pShi": "string",
    "pStoreCategory": 0,
    "pStoreType": 0,
    "pTime": "string",
    "pType": true,
    "pWeidu": "string",
    "pWxfType": 0,
    "pYajin": 0,
    "pYajinType": 0,
    "pYwid": "string",
    "pYwtc": 0,
    "pZitui": 0,
    "pZujienum": 0,
    "picon": "string",
    "reportCountJson": "string",
    "transMap": {
        "property1": "string",
        "property2": "string"
    }
}'

Responses

🟢200OK
application/json
Body
Additional properties
object 
optional
Example
{
    "property1": {},
    "property2": {}
}
🟢201Created
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found
Previous
get shop detail
Next
update shop
Built with