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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
centid

string

Required

userid

string

Required

Body Parameters

Collection of CenterInfra
NameDescriptionTypeAdditional 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:55:43.3146727+05:30",
    "createby": "sample string 4",
    "updateon": "2025-05-10T10:55:43.3146727+05:30",
    "updateby": "sample string 5"
  },
  {
    "infraid": 1,
    "centid": "sample string 2",
    "infra": "sample string 3",
    "working": 1,
    "notworking": 1,
    "total": 1,
    "createon": "2025-05-10T10:55:43.3146727+05:30",
    "createby": "sample string 4",
    "updateon": "2025-05-10T10:55:43.3146727+05:30",
    "updateby": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCenterInfra xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JankariPortalPIFAPI.Models">
  <CenterInfra>
    <centid>sample string 2</centid>
    <createby>sample string 4</createby>
    <createon>2025-05-10T10:55:43.3146727+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:55:43.3146727+05:30</updateon>
    <working>1</working>
  </CenterInfra>
  <CenterInfra>
    <centid>sample string 2</centid>
    <createby>sample string 4</createby>
    <createon>2025-05-10T10:55:43.3146727+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:55:43.3146727+05:30</updateon>
    <working>1</working>
  </CenterInfra>
</ArrayOfCenterInfra>

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>