Participations Insights

HTTP Verb and URI

POST /api/Integration/{version}/Participations

HTTP Request

Request Headers

Header NameHeader Value

Accept-Language

Use 'en' or 'ar'

Request Payload

ParameterDescription

Name

string

PhoneNumber

String Must be in this format

( ( +2 optional ) 010,011,012,015, xx xxx xxx )

Province

string

Answer

string

Response

ErrorFlagAr MessageEn MessageErrorCode

Success

تم إرسال الإجابة بنجاح

Your response has been successfully submitted.

0

DuplicateSubmission

لقد أجبت بالفعل، يرجى المحاولة مرة أخرى غدًا

Your answer has already been submitted, please try again tomorrow.

1

ValidationError

برجاء ادخال جميع البيانات المطلوبة

Please provide all the necessary information.

2

OtherErrors

قد حدث خطأ ما، يرجى المحاولة مرة أخرى

Something went wrong, please try again.

3

InvalidPhoneNumber

رقم الهاتف غير صحيح

Invalid phone number

4

Example

Success Request

{
  "status": "success",
  "message": "Your response has been successfully submitted.",
  "errorCode": 0
}

Failure Request

{
  "status": "error",
  "message": "Your answer has already been submitted, please try again tomorrow.",
  "errorCode": 1
}

Last updated