POST mobile/update-terms

Request Information

URI Parameters

None.

Body Parameters

LabCare.WebApi.Models.TermsAndConditionModel
NameDescriptionTypeAdditional information
UserId

integer

None.

Email

string

None.

IsTermsAccepted

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "Email": "sample string 2",
  "IsTermsAccepted": true
}

application/xml, text/xml

Sample:
<TermsAndConditionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LabCare.WebApi.Models">
  <Email>sample string 2</Email>
  <IsTermsAccepted>true</IsTermsAccepted>
  <UserId>1</UserId>
</TermsAndConditionModel>

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 'TermsAndConditionModel'.

Response Information

Resource Description

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional information
Version

System.Version

None.

Content

System.Net.Http.HttpContent

None.

StatusCode

System.Net.HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

System.Net.Http.HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.