POST api/values/getsavenewrequest

Request Information

URI Parameters

None.

Body Parameters

savnewrequest
NameDescriptionTypeAdditional information
patintname

string

None.

patintage

integer

None.

gender

integer

None.

bloodgroup

integer

None.

unit

integer

None.

hospitalname

string

None.

reason

string

None.

state

integer

None.

district

integer

None.

region

integer

None.

pin

string

None.

requestid

string

None.

status

boolean

None.

activeflag

integer

None.

usersk

integer

None.

requestdate

date

None.

whenyounedblood

date

None.

hospitaladdress

string

None.

Request Formats

application/json, text/json

Sample:
{
  "patintname": "sample string 1",
  "patintage": 2,
  "gender": 3,
  "bloodgroup": 4,
  "unit": 5,
  "hospitalname": "sample string 6",
  "reason": "sample string 7",
  "state": 8,
  "district": 9,
  "region": 10,
  "pin": "sample string 11",
  "requestid": "sample string 12",
  "status": true,
  "activeflag": 14,
  "usersk": 15,
  "requestdate": "2024-11-23T21:41:37.7330087-07:00",
  "whenyounedblood": "2024-11-23T21:41:37.7330087-07:00",
  "hospitaladdress": "sample string 18"
}

application/xml, text/xml

Sample:
<savnewrequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PmsAPI.Models">
  <activeflag>14</activeflag>
  <bloodgroup>4</bloodgroup>
  <district>9</district>
  <gender>3</gender>
  <hospitaladdress>sample string 18</hospitaladdress>
  <hospitalname>sample string 6</hospitalname>
  <patintage>2</patintage>
  <patintname>sample string 1</patintname>
  <pin>sample string 11</pin>
  <reason>sample string 7</reason>
  <region>10</region>
  <requestdate>2024-11-23T21:41:37.7330087-07:00</requestdate>
  <requestid>sample string 12</requestid>
  <state>8</state>
  <status>true</status>
  <unit>5</unit>
  <usersk>15</usersk>
  <whenyounedblood>2024-11-23T21:41:37.7330087-07:00</whenyounedblood>
</savnewrequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.