People Import Begin
This process is an optional step that begins the import process by setting all people to pending before mass importing. Any people records still marked as pending will be disabled when the /People/Update/Importterm endpoint is called. If this is not called, then people will only be updated and never removed. *Secret Hmac Required. Do Not Cache this call.
POST /People/Update/ImportInit
curl \
-X POST https://Api.StrandVision.com/v1.0/People/Update/ImportInit \
-H "Authorization: X-apikey $ACCESS_TOKEN" \
-H "Authorization: X-apidate $ACCESS_TOKEN" \
-H "Authorization: X-apihmac $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"Custno":10028}'
Request example
{
"Custno": 10028
}
Request examples
{
"Custno": 10028
}
Response examples (200)
[
{
"Count": 17,
"Pending": 17,
"Custno": 10028,
"Msg": "Set 17 non deleted people to Processing in 0.04257 Seconds",
"Time": 0.04257
}
]
Response examples (200)
{
"Count": 42.0,
"Change": 42.0,
"Skipped": 42.0,
"Deleted": 42.0,
"Pending": 42.0,
"Photo": 42.0,
"Custno": 42.0,
"Msg": "string",
"Time": 42.0
}