POST api/ServiceCall

Request Information

URI Parameters

None.

Body Parameters

CallDetails
NameDescriptionTypeAdditional information
AB_CUSTID

integer

Required

AB_PWORD

string

Required

FIRSTSURNAME

string

None.

FIRSTTITLE

string

None.

SECONDSURNAME

string

None.

SECONDTITLE

string

None.

PCODE

string

None.

HOMETEL

string

None.

DEFECT

string

None.

ITEM

string

None.

COMMENTS

string

None.

LOCATION

string

None.

CALLDATEDATE

date

None.

CALLDATE

string

None.

CALLTIME

string

None.

EMAIL

string

None.

URLRedirect

string

None.

TEST

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "AB_CUSTID": 1,
  "AB_PWORD": "sample string 2",
  "FIRSTSURNAME": "sample string 3",
  "FIRSTTITLE": "sample string 4",
  "SECONDSURNAME": "sample string 5",
  "SECONDTITLE": "sample string 6",
  "PCODE": "sample string 7",
  "HOMETEL": "sample string 8",
  "DEFECT": "sample string 9",
  "ITEM": "sample string 10",
  "COMMENTS": "sample string 11",
  "LOCATION": "sample string 12",
  "CALLDATEDATE": "2021-12-02T21:43:34.5865061+00:00",
  "CALLDATE": "sample string 14",
  "CALLTIME": "sample string 15",
  "EMAIL": "sample string 16",
  "URLRedirect": "sample string 17",
  "TEST": 1
}

application/xml, text/xml

Sample:
<CallDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServiceCallAPI.Controllers">
  <AB_CUSTID>1</AB_CUSTID>
  <AB_PWORD>sample string 2</AB_PWORD>
  <CALLDATE>sample string 14</CALLDATE>
  <CALLDATEDATE>2021-12-02T21:43:34.5865061+00:00</CALLDATEDATE>
  <CALLTIME>sample string 15</CALLTIME>
  <COMMENTS>sample string 11</COMMENTS>
  <DEFECT>sample string 9</DEFECT>
  <EMAIL>sample string 16</EMAIL>
  <FIRSTSURNAME>sample string 3</FIRSTSURNAME>
  <FIRSTTITLE>sample string 4</FIRSTTITLE>
  <HOMETEL>sample string 8</HOMETEL>
  <ITEM>sample string 10</ITEM>
  <LOCATION>sample string 12</LOCATION>
  <PCODE>sample string 7</PCODE>
  <SECONDSURNAME>sample string 5</SECONDSURNAME>
  <SECONDTITLE>sample string 6</SECONDTITLE>
  <TEST>1</TEST>
  <URLRedirect>sample string 17</URLRedirect>
</CallDetails>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.