POST api/PoctLogin/InsertAMC

Request Information

URI Parameters

None.

Body Parameters

amcp
NameDescriptionTypeAdditional information
StateAlloted

string

None.

ZoneAlloted

string

None.

CustomerName

string

None.

Mobile

string

None.

EquipmentName

string

None.

ModelName

string

None.

SerialNo

string

None.

PeriodFrom

date

None.

PeriodTo

date

None.

InstallationDate

date

None.

Amount

decimal number

None.

noofvisit

integer

None.

ContractType

string

None.

copid

integer

None.

Request Formats

application/json, text/json, text/html

Sample:
{
  "StateAlloted": "sample string 1",
  "ZoneAlloted": "sample string 2",
  "CustomerName": "sample string 3",
  "Mobile": "sample string 4",
  "EquipmentName": "sample string 5",
  "ModelName": "sample string 6",
  "SerialNo": "sample string 7",
  "PeriodFrom": "2026-01-13T15:23:21.5983056+05:30",
  "PeriodTo": "2026-01-13T15:23:21.5983056+05:30",
  "InstallationDate": "2026-01-13T15:23:21.5983056+05:30",
  "Amount": 11.0,
  "noofvisit": 12,
  "ContractType": "sample string 13",
  "copid": 14
}

application/xml, text/xml

Sample:
<Login.amcp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PoctAPI.Models">
  <Amount>11</Amount>
  <ContractType>sample string 13</ContractType>
  <CustomerName>sample string 3</CustomerName>
  <EquipmentName>sample string 5</EquipmentName>
  <InstallationDate>2026-01-13T15:23:21.5983056+05:30</InstallationDate>
  <Mobile>sample string 4</Mobile>
  <ModelName>sample string 6</ModelName>
  <PeriodFrom>2026-01-13T15:23:21.5983056+05:30</PeriodFrom>
  <PeriodTo>2026-01-13T15:23:21.5983056+05:30</PeriodTo>
  <SerialNo>sample string 7</SerialNo>
  <StateAlloted>sample string 1</StateAlloted>
  <ZoneAlloted>sample string 2</ZoneAlloted>
  <copid>14</copid>
  <noofvisit>12</noofvisit>
</Login.amcp>

multipart/form-data

Sample:
<Login.amcp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PoctAPI.Models"><Amount>11</Amount><ContractType>sample string 13</ContractType><CustomerName>sample string 3</CustomerName><EquipmentName>sample string 5</EquipmentName><InstallationDate>2026-01-13T15:23:21.5983056+05:30</InstallationDate><Mobile>sample string 4</Mobile><ModelName>sample string 6</ModelName><PeriodFrom>2026-01-13T15:23:21.5983056+05:30</PeriodFrom><PeriodTo>2026-01-13T15:23:21.5983056+05:30</PeriodTo><SerialNo>sample string 7</SerialNo><StateAlloted>sample string 1</StateAlloted><ZoneAlloted>sample string 2</ZoneAlloted><copid>14</copid><noofvisit>12</noofvisit></Login.amcp>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, multipart/form-data, text/html

Sample:

Sample not available.