POST api/Center/AddPlannedMonthlyCenterVisit/{userid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userid

string

Required

Body Parameters

Collection of PlannedVisit
NameDescriptionTypeAdditional information
pmid

integer

None.

state

string

None.

city

string

None.

teamleaderid

string

None.

teamleadername

string

None.

pcid

string

None.

ohid

string

None.

pcname

string

None.

ohname

string

None.

centname

string

None.

centid

string

None.

month

string

None.

year

string

None.

centervisit

string

None.

otheractivities

string

None.

officeactivity

string

None.

evaluation

string

None.

createby

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "pmid": 1,
    "state": "sample string 2",
    "city": "sample string 3",
    "teamleaderid": "sample string 4",
    "teamleadername": "sample string 5",
    "pcid": "sample string 6",
    "ohid": "sample string 7",
    "pcname": "sample string 8",
    "ohname": "sample string 9",
    "centname": "sample string 10",
    "centid": "sample string 11",
    "month": "sample string 12",
    "year": "sample string 13",
    "centervisit": "sample string 14",
    "otheractivities": "sample string 15",
    "officeactivity": "sample string 16",
    "evaluation": "sample string 17",
    "createby": "sample string 18"
  },
  {
    "pmid": 1,
    "state": "sample string 2",
    "city": "sample string 3",
    "teamleaderid": "sample string 4",
    "teamleadername": "sample string 5",
    "pcid": "sample string 6",
    "ohid": "sample string 7",
    "pcname": "sample string 8",
    "ohname": "sample string 9",
    "centname": "sample string 10",
    "centid": "sample string 11",
    "month": "sample string 12",
    "year": "sample string 13",
    "centervisit": "sample string 14",
    "otheractivities": "sample string 15",
    "officeactivity": "sample string 16",
    "evaluation": "sample string 17",
    "createby": "sample string 18"
  }
]

application/xml, text/xml

Sample:
<ArrayOfPlannedVisit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JankariPortalPIFAPI.Models">
  <PlannedVisit>
    <centervisit>sample string 14</centervisit>
    <centid>sample string 11</centid>
    <centname>sample string 10</centname>
    <city>sample string 3</city>
    <createby>sample string 18</createby>
    <evaluation>sample string 17</evaluation>
    <month>sample string 12</month>
    <officeactivity>sample string 16</officeactivity>
    <ohid>sample string 7</ohid>
    <ohname>sample string 9</ohname>
    <otheractivities>sample string 15</otheractivities>
    <pcid>sample string 6</pcid>
    <pcname>sample string 8</pcname>
    <pmid>1</pmid>
    <state>sample string 2</state>
    <teamleaderid>sample string 4</teamleaderid>
    <teamleadername>sample string 5</teamleadername>
    <year>sample string 13</year>
  </PlannedVisit>
  <PlannedVisit>
    <centervisit>sample string 14</centervisit>
    <centid>sample string 11</centid>
    <centname>sample string 10</centname>
    <city>sample string 3</city>
    <createby>sample string 18</createby>
    <evaluation>sample string 17</evaluation>
    <month>sample string 12</month>
    <officeactivity>sample string 16</officeactivity>
    <ohid>sample string 7</ohid>
    <ohname>sample string 9</ohname>
    <otheractivities>sample string 15</otheractivities>
    <pcid>sample string 6</pcid>
    <pcname>sample string 8</pcname>
    <pmid>1</pmid>
    <state>sample string 2</state>
    <teamleaderid>sample string 4</teamleaderid>
    <teamleadername>sample string 5</teamleadername>
    <year>sample string 13</year>
  </PlannedVisit>
</ArrayOfPlannedVisit>

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>