POST api/Contacts/GetContactbyId

Request Information

URI Parameters

None.

Body Parameters

ContactbyIdRequest
NameDescriptionTypeAdditional information
Id

string

Required

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1"
}

multipart/form-data

Sample:
{"Id":"sample string 1"}

application/xml, text/xml

Sample:
<ContactbyIdRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ScrupUpBusinessModel.DTO">
  <Id>sample string 1</Id>
</ContactbyIdRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ContactbyIdRequest'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, multipart/form-data, application/xml, text/xml

Sample:

Sample not available.