Codes and notifications in aNewSpring after sending results

When Coachview receives incorrect data or data that has been sent before, Coachview will not be able to process it and send a message back to aNewSpring. The message in combination with the data below should make it clear why the data cannot be processed by Coachview. 

(Also when the registration has been received in good order Coachview will return a notification)



Code

Technical name

Description

405

HttpStatusCode.MethodNotAllowed

Request method not supported.

For example no ‘POST’ just use something else. Virtually non-existent.

403

HttpStatusCode.Forbidden

Webhook validation failed, no hash in HTTP header or hashing does not match.

Probably the secret keys or the like don't match.

400

HttpStatusCode.BadRequest

Do not receive data in the HTTP body, it cannot be converted to XML or XML does not conform to XSD schema.

See the error message.

404

HttpStatusCode.NotFound

Person and/or registration cannot be found in Coachview.

(Possibly the enrollment cannot be found or edited because the course question has already been completed, you can only register the attendance/decrease if the course question is still on 'scheduled' state)

503

HttpStatusCode.ServerUnavailable

Coachview is currently unavailable.

Try again later.

500

HttpStatusCode.InternalServerError

Arror occurred in handling.

Contact Coachview with the error message sent along.

200

HttpStatusCode.OK

If all went well, this status code will be returned.



Conditions for sending results:

  • One message per call
  • One person with one course/part
  • Only one call can be made per person per course/part.


The results feedback is based on coursepartcompletion. 

When Coachview registers 1 person in a course unit, this unit corresponds with the "entire course" in aNewSpring. The parts of the course in aNewSpring cannot be found in Coachview. 


Be careful when setting up aNewSpring: If you have set up a coursepartcompletion for more than one course in this course, the same person with the same course question will be returned more often with an error message.