Extension management interface Interface Name Introductions Add promotional space Support affiliate developers to add promotional spots through the interface Edit Promotional Area Supports consortium developers to edit promotional site names through an interface Get a list of promotional spots Support affiliate developers to obtain a list of promotional spots through an interface
Interface Dxplaination Support affiliate developers to call the interface to add promotional spots
Request address Request parameters attribute type Default values Required to fill in Introductions access_token string yes Interface call credentials promotionSourceName string yes Extension name (up to 20 words long, name not repeatable)
POST Example Return value Object The returned JSON packet
attribute type Introductions errcode number Error code errmsg string Error message pid string Extension Bit ID, PID
Return an example Error code value Introductions 14005 The number of promotional places reached an upper limit 14007 Replication of promotional site name
Interface Dxplaination Modify the name of the specified extension
Request address Request parameters attribute type Default values Required to fill in Introductions access_token string yes Interface call credentials previousPromotionInfo Object yes previousPromotionInfo.promotionSourcePid string yes Extension bit PID to be modified previousPromotionInfo.promotionSourceName string yes Revise the previous name promotionInfo Object yes promotionInfo.promotionSourceName string yes Name changed after modification
POST Example Return value Object The returned JSON packet
attribute type Introductions errcode number Error code errmsg string Error message
Interface Dxplaination Get a list of promotional spots
Request address Request parameters attribute type Default values Required to fill in Introductions access_token string yes Interface call credentials start number 0 yes deviation limit number 20 yes Number of pages per page
Return value Object The returned JSON packet
attribute type Introductions errcode number Error code errmsg string Error message total number Total number of promotional locations promotionMaxCnt number Maximum number of promotional spaces allowed to be created promotionSourceList Array. Extension bit data
Structure of promotionSourceList
attribute type Introductions promotionSourceName string Promotional site name promotionSourcePid string Extension Bit ID, PID
Return an example