POST api/User/UploadPicAndSound

Request Information

URI Parameters

None.

Body Parameters

ProfilePicAndSoundDTO
NameDescriptionTypeAdditional information
FileName

string

None.

ImageUrl

string

None.

SoundUrl

string

None.

AgencyId

integer

None.

ImageData

Collection of byte

None.

SoundData

Collection of byte

None.

isImage

boolean

None.

isImageData

boolean

None.

isSound

boolean

None.

fromPOD

boolean

None.

userId

integer

None.

isUpload

boolean

None.

ImageBytesInBase64String

string

None.

SoundBytesInBase64String

string

None.

ImageFile

HttpPostedFileBase

None.

SoundFile

HttpPostedFileBase

None.

Request Formats

application/json, text/json

Sample:
{
  "FileName": "sample string 1",
  "ImageUrl": "sample string 2",
  "SoundUrl": "sample string 3",
  "AgencyId": 4,
  "ImageData": "QEA=",
  "SoundData": "QEA=",
  "isImage": true,
  "isImageData": true,
  "isSound": true,
  "fromPOD": true,
  "userId": 9,
  "isUpload": true,
  "ImageBytesInBase64String": "sample string 11",
  "SoundBytesInBase64String": "sample string 12",
  "ImageFile": null,
  "SoundFile": null
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true