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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
centid

string

Required

userid

string

Required

Body Parameters

CenterTypeLite
NameDescriptionTypeAdditional information
ctid

integer

None.

centid

string

None.

centertype

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",
  "centertype": "sample string 3",
  "stdt": "2025-05-10T10:39:33.711916+05:30",
  "endt": "2025-05-10T10:39:33.711916+05:30",
  "createdon": "2025-05-10T10:39:33.711916+05:30",
  "createdby": "sample string 4",
  "status": 1
}

application/xml, text/xml

Sample:
<CenterTypeLite xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JankariPortalPIFAPI.Models">
  <centertype>sample string 3</centertype>
  <centid>sample string 2</centid>
  <createdby>sample string 4</createdby>
  <createdon>2025-05-10T10:39:33.711916+05:30</createdon>
  <ctid>1</ctid>
  <endt>2025-05-10T10:39:33.711916+05:30</endt>
  <status>1</status>
  <stdt>2025-05-10T10:39:33.711916+05:30</stdt>
</CenterTypeLite>

application/x-www-form-urlencoded

Sample:

Sample not available.

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>