PUT user/add-user-investigation
Request Information
URI Parameters
None.
Body Parameters
InvestigationModelName | Description | Type | Additional information |
---|---|---|---|
UserId | integer |
None. |
|
ImageUrl | string |
None. |
|
Description | string |
None. |
|
Name | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserId": 1, "ImageUrl": "sample string 2", "Description": "sample string 3", "Name": "sample string 4" }
application/xml, text/xml
Sample:
<InvestigationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DrAhmedElMasryApi.Models"> <Description>sample string 3</Description> <ImageUrl>sample string 2</ImageUrl> <Name>sample string 4</Name> <UserId>1</UserId> </InvestigationModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of InvestigationDtoName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
UserId | integer |
None. |
|
Name | string |
None. |
|
Description | string |
None. |
|
ImageUrl | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": 1, "UserId": 2, "Name": "sample string 3", "Description": "sample string 4", "ImageUrl": "sample string 5" }, { "Id": 1, "UserId": 2, "Name": "sample string 3", "Description": "sample string 4", "ImageUrl": "sample string 5" } ]
application/xml, text/xml
Sample:
<ArrayOfInvestigationDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DrAhmedElMasryApi.Dto"> <InvestigationDto> <Description>sample string 4</Description> <Id>1</Id> <ImageUrl>sample string 5</ImageUrl> <Name>sample string 3</Name> <UserId>2</UserId> </InvestigationDto> <InvestigationDto> <Description>sample string 4</Description> <Id>1</Id> <ImageUrl>sample string 5</ImageUrl> <Name>sample string 3</Name> <UserId>2</UserId> </InvestigationDto> </ArrayOfInvestigationDto>