Set Accounts
POST/social-media-posting/:locationId/set-accounts
Set social media accounts for a CSV import to publish posts to
Request
Version stringrequired
API Version
Available options
v3locationId stringrequired
Location Id
- application/json
- Body
- Example (auto)
Bodyrequired
accountIdsstring[]required
Account Ids
filePathstringrequired
File path
rowsCountnumberrequired
Entries Count. rowsCount must be between 1 and number of posts in CSV
fileNamestringrequired
Name of file
approverstring
Approver User Id
userIdstringrequired
User ID
csvFileTypestring
CSV file type - determines the format of the CSV file being imported
Available options
basicadvance{
"accountIds": [
"aF3KhyL8JIuBwzK3m7Ly_iVrVJ2uoXNF0wzcBzgl5_12554616564525983496"
],
"filePath": "omaDY3RbWtTP511e/social-import/d23d68c2-82c0-1db6e2.csv",
"rowsCount": 1,
"fileName": "test.csv",
"approver": "o6241QsiRwUIJHyjuhos",
"userId": "ve9EPM428h8vShlRW1KT",
"csvFileType": "basic"
}
Successful response
- application/json
- Schema
- Example (auto)
Schema
successbooleanrequired
Success or Failure
statusCodenumberrequired
Status Code
messagestringrequired
Message
resultsobject
Requested Results
{
"success": true,
"statusCode": 201,
"message": "Accounts Set Successfully",
"results": {
"csvId": "6953a0be84b7ff10f6025d53"
}
}