People Import End

POST /People/Update/ImportTerm

This process finishes the import process by setting any remaining pending people to deleted after the call to /People/Update/Importterm endpoint sets them to pending and /People/Update/Importmass endpoint recalls them. *Secret Hmac Required. Do Not Cache this call.

Body

  • Custno number

    The optional customer number to retrieve

Responses

  • People Import Successfully Started

    Hide response attributes Show response attributes object
    • Count number

      The number of people processed

    • Change number

      number of records changed (not counting pending status changes)

    • Skipped number

      number of records skipped with no changes (if importing)

    • Deleted number

      number of records deleted (if terminating)

    • Pending number

      number of records still set to pending

    • Photo number

      number of photos added (if any)

    • Custno number

      the StrandVision customer number processed

    • Msg string

      The resulting message

    • Time number

      The processing time in seconds

POST /People/Update/ImportTerm
curl \
 -X POST https://Api.StrandVision.com/v1.0/People/Update/ImportTerm \
 -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,
    "Custno": 10028,
    "Pending": 17,
    "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
}