POST api/UpdateContactType

Request Information

URI Parameters

None.

Body Parameters

CreateContactTypeVm
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Code

string

None.

LeadSubTypeId

integer

None.

CompanyId

integer

None.

CreatedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "Code": "sample string 3",
  "LeadSubTypeId": 1,
  "CompanyId": 1,
  "CreatedDate": "2025-12-07T15:44:54.2601566Z"
}

application/xml, text/xml

Sample:
<CreateContactTypeVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrokerServer.Models.SuperAdminModels">
  <Code>sample string 3</Code>
  <CompanyId>1</CompanyId>
  <CreatedDate>2025-12-07T21:14:54.2601566+05:30</CreatedDate>
  <Id>1</Id>
  <LeadSubTypeId>1</LeadSubTypeId>
  <Name>sample string 2</Name>
</CreateContactTypeVm>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.