POST APIControllers/Wellness/UploadProfilePictureIOS

Request Information

URI Parameters

None.

Body Parameters

RequestUploadProfilePictureIOS
NameDescriptionTypeAdditional information
PetId

integer

None.

Attachment

AttachmentsIOS

None.

SecurityKey

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PetId": 1,
  "Attachment": {
    "Name": "sample string 1",
    "Description": "sample string 2",
    "data": "sample string 3",
    "Latitude": "sample string 4",
    "Longitude": "sample string 5"
  },
  "SecurityKey": "sample string 2"
}

application/xml, text/xml

Sample:
<RequestUploadProfilePictureIOS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/mobile.oneplan.co.za.Models">
  <SecurityKey>sample string 2</SecurityKey>
  <Attachment>
    <Description>sample string 2</Description>
    <Latitude>sample string 4</Latitude>
    <Longitude>sample string 5</Longitude>
    <Name>sample string 1</Name>
    <data>sample string 3</data>
  </Attachment>
  <PetId>1</PetId>
</RequestUploadProfilePictureIOS>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseOfByte[]
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

Entity

Collection of byte

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Message": "sample string 2",
  "Entity": "QEA="
}

application/xml, text/xml

Sample:
<ResponseOfbase64Binary xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OnePlan.Core">
  <Entity>QEA=</Entity>
  <Message>sample string 2</Message>
  <Success>true</Success>
</ResponseOfbase64Binary>