POST api/Center/AddCenterType/{centid}/{userid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
centid

string

Required

userid

string

Required

Body Parameters

CenterType
NameDescriptionTypeAdditional information
ctid

integer

None.

centid

string

None.

centertype1

string

None.

stdt

date

None.

endt

date

None.

createdon

date

None.

createdby

string

None.

status

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ctid": 1,
  "centid": "sample string 2",
  "centertype1": "sample string 3",
  "stdt": "2025-12-06T10:07:38.0453151+05:30",
  "endt": "2025-12-06T10:07:38.0453151+05:30",
  "createdon": "2025-12-06T10:07:38.0453151+05:30",
  "createdby": "sample string 4",
  "status": 1
}

application/xml, text/xml

Sample:
<CenterType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JankariPortalPartner_Live.Models">
  <centertype1>sample string 3</centertype1>
  <centid>sample string 2</centid>
  <createdby>sample string 4</createdby>
  <createdon>2025-12-06T10:07:38.0453151+05:30</createdon>
  <ctid>1</ctid>
  <endt>2025-12-06T10:07:38.0453151+05:30</endt>
  <status>1</status>
  <stdt>2025-12-06T10:07:38.0453151+05:30</stdt>
</CenterType>

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

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>