view Draft
GET
/draft/view/{draftId}This endpoint will display particular Draft with given draftId
Request
Path Params
draftId
string
required
required parameter to identify the Draft
Default:
2df83cc9-b0fa-4085-a653-3781e449e898
Request samples
Responses
OK(200)
Bad Request(400)
Unauthorized(401)
Parameter Error(422)
Server Error(500)
HTTP Code: 200
Content Type : JSONapplication/json
Draft displayed successfully
Data Schema
message
string
optional
Draft Displayed Successfully
response
object
optional
accountDetails
array [object {6}]
optional
draft
object
optional
Example
{
"message": "Draft Displayed Successfully",
"response": {
"draft": {
"postDesc": "This is Draft",
"postTitle": "",
"postImage": [],
"postUrl": "",
"longPostDesc": "",
"postVideo": "",
"companyId": 103953,
"postType": "T",
"extraData": {
"enableShortUrl": true,
"currentActiveTab": "instagram",
"original": {
"postDesc": "This is Draft",
"postTitle": "",
"postImage": [],
"postUrl": "",
"longPostDesc": "",
"postVideo": "",
"companyId": 103953,
"postType": "T",
"createdOn": "2023-06-06T13:24:34.166Z",
"extraData": {
"place": null,
"enableShortUrl": true
},
"ownerId": 103953,
"taggedPeople": {},
"utmSetId": "",
"utmParameters": {}
},
"fb": {
"postDesc": "This is Draft",
"postTitle": "",
"postImage": [],
"postUrl": "",
"longPostDesc": "",
"postVideo": "",
"companyId": 103953,
"postType": "T",
"createdOn": "2023-06-06T13:24:34.166Z",
"extraData": {
"fbAction": null,
"comment": "",
"place": null,
"fbAudianceTargeting": {
"limitAudiance": null
},
"enableShortUrl": true
},
"ownerId": 103953,
"taggedPeople": {},
"utmSetId": "",
"utmParameters": {},
"instagramPostType": "post",
"instagramPublishType": "direct"
},
"gmb": {
"postDesc": "This is Draft",
"postTitle": "",
"postImage": [],
"postUrl": "",
"longPostDesc": "",
"postVideo": "",
"companyId": 103953,
"postType": "T",
"createdOn": "2023-06-06T13:24:34.166Z",
"extraData": {
"action": {
"cta": "",
"link": ""
},
"place": null,
"enableShortUrl": true
},
"ownerId": 103953,
"taggedPeople": {},
"utmSetId": "",
"utmParameters": {}
},
"instagram": {
"postDesc": "Draft Up",
"postTitle": "",
"postImage": [],
"postUrl": "",
"longPostDesc": "",
"postVideo": "",
"companyId": 103953,
"postType": "T",
"createdOn": "2023-06-06T13:24:34.166Z",
"extraData": {
"comment": "",
"place": null,
"enableShortUrl": true
},
"ownerId": 103953,
"taggedPeople": {},
"utmSetId": "",
"utmParameters": {},
"instagramPostType": "post",
"instagramPublishType": "direct"
}
},
"ownerId": 103953,
"taggedPeople": {},
"boostExtraParams": {},
"draftId": "2df83cc9-b0fa-4085-a653-3781e449e898",
"utmSetId": ""
},
"accountDetails": [
{
"accountId": 25,
"accountUsername": "Instagram_Bussineess",
"accountUrl": "https://www.instagram.com/king_ak_empires",
"color": "#8c6654",
"profilePicture": "",
"loginId": 1010448,
"accountMaster": {
"accountName": "Instagram+Pages",
"scenario": "instagram-bussiness-pages"
}
},
{
"accountId": 5,
"profilePicture": "https://graph.facebook.com/112993365040579/picture?type=square&access_token=EAAU579TDpf0BAG1E4qVlR2ZAUZAOKwHAZB4hZAnsgEvF6kgIWCZAk5hFsYc3pa1xg28jMw3LUlNd5Nx3NhaTgtWwVXhtKIXZBWaBVbV6w1hoZBfGEim5Wd6KON5pYiXMc3t3rPPpB0Ik8vXSEIcHogZBegsjRMl1EVDbCIZC6LjAX0FkbMwcShpe44GtWmOX2So0ZD",
"accountUsername": "FB_Page",
"accountUrl": "https://www.facebook.com/TestPage-112993365040579/",
"color": "#3b5998",
"loginId": 1010711,
"accountMaster": {
"accountName": "Facebook Pages",
"scenario": "facebook-official"
}
},
{
"accountId": 21,
"accountUsername": "GBP",
"accountUrl": "https://www.google.com/search?q=Shabnam kirana store, Anand, Gujarat",
"color": "#DA4835",
"loginId": 1010898,
"accountMaster": {
"accountName": "Google Business Profile",
"scenario": "briefcase"
}
}
]
}
}
Last modified: 18 days ago