POST api/Center/AddCenterInfra/{centid}/{userid}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
centid | string |
Required |
|
userid | string |
Required |
Body Parameters
CenterInfraName | Description | Type | Additional information |
---|---|---|---|
infraid | integer |
None. |
|
centid | string |
None. |
|
infra | string |
None. |
|
working | integer |
None. |
|
notworking | integer |
None. |
|
total | integer |
None. |
|
createon | date |
None. |
|
createby | string |
None. |
|
updateon | date |
None. |
|
updateby | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "infraid": 1, "centid": "sample string 2", "infra": "sample string 3", "working": 1, "notworking": 1, "total": 1, "createon": "2025-05-10T10:42:44.6936083+05:30", "createby": "sample string 4", "updateon": "2025-05-10T10:42:44.6936083+05:30", "updateby": "sample string 5" }
application/xml, text/xml
Sample:
<CenterInfra xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JankariPortalPIFAPI.Models"> <centid>sample string 2</centid> <createby>sample string 4</createby> <createon>2025-05-10T10:42:44.6936083+05:30</createon> <infra>sample string 3</infra> <infraid>1</infraid> <notworking>1</notworking> <total>1</total> <updateby>sample string 5</updateby> <updateon>2025-05-10T10:42:44.6936083+05:30</updateon> <working>1</working> </CenterInfra>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse 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>