v1/Customer/UploadDocument/{ContactId}

 

API parameters
Required

 

Name In Type Description
Bearer Token Authorization string Authentication token
DocumentType Parameter string Which type of document POI,POA
File Body form data File Document which you want to upload

 

Optional

 

Name In Type Description
CustomerId Parameter string CustomerId.

 

Response

 

{
     "message": "Document has been uploaded successfully!!!"
}

 

Error Codes

 

HTTP Status Code Description
401 Invalid credentials Invalid credentials
400 Document file required Document file required
400 Document type required Document type required
404 Invalid document type Invalid document type
400 Document file should be jpg,jpeg,png,pdf Document file should be jpg,jpeg,png,pdf