POST Api/ParticipantFile?provider_unique_id={provider_unique_id}&alert_id={alert_id}
This method will return post a file to a participant's profile. The file must of the following extensions: .xls, xlsx, .doc, .docx,
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| provider_unique_id |
The unique id of the participant as assigned by the provider. |
string |
None. |
| alert_id |
The unique id of the participant as assigned by TouchPointCare. |
integer |
None. |
Body Parameters
None.
Response Information
Resource Description
A TPCResponse object.
TPCResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| result | string |
None. |
|
| error_code | integer |
None. |
|
| message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"result": "sample string 1",
"error_code": 1,
"message": "sample string 2"
}
application/xml, text/xml
Sample:
<TPCResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TPC.API.Models"> <error_code>1</error_code> <message>sample string 2</message> <result>sample string 1</result> </TPCResponse>