POST api/v1/Provider/Upload/Photo
Request Information
URI Parameters
None.
Body Parameters
ProviderUploadImageViewModelName | Description | Type | Additional information |
---|---|---|---|
ProviderID | integer |
None. |
|
ImagePath | string |
Required |
|
IsMidLevel | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "ProviderID": 1, "ImagePath": "sample string 2", "IsMidLevel": true }
application/xml, text/xml
Sample:
<ProviderUploadImageViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Consensus.Ortho.Services.ViewModels.ProviderViewModels"> <ImagePath>sample string 2</ImagePath> <IsMidLevel>true</IsMidLevel> <ProviderID>1</ProviderID> </ProviderUploadImageViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ActionResultViewModelOfStringName | Description | Type | Additional information |
---|---|---|---|
StatusCode | integer |
None. |
|
Success | boolean |
None. |
|
Message | string |
None. |
|
Result | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "StatusCode": 1, "Success": true, "Message": "sample string 3", "Result": "sample string 4" }
application/xml, text/xml
Sample:
<ActionResultViewModelOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Consensus.Ortho.Web.ViewModels.ResultViewModels"> <Message>sample string 3</Message> <Result>sample string 4</Result> <StatusCode>1</StatusCode> <Success>true</Success> </ActionResultViewModelOfstring>