PUT api/PatientPhones

Request Information

URI Parameters

None.

Body Parameters

Collection of PatientPhone
NameDescriptionTypeAdditional information
ID

integer

None.

CPI

string

None.

DIV_ID

integer

None.

TYPES

string

None.

PHONE

string

None.

SEQ

integer

None.

LM

string

None.

T2C

integer

None.

NOTE

string

None.

OLD

integer

None.

T2CEntity

PhoneT2C

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "CPI": "sample string 2",
    "DIV_ID": 3,
    "TYPES": "sample string 4",
    "PHONE": "sample string 5",
    "SEQ": 6,
    "LM": "sample string 7",
    "T2C": 1,
    "NOTE": "sample string 8",
    "OLD": 1,
    "T2CEntity": {
      "ID": 1,
      "DESCRIPTION": "sample string 2",
      "SEQ": 3,
      "DIV_ID": 4,
      "OLD": 1
    }
  },
  {
    "ID": 1,
    "CPI": "sample string 2",
    "DIV_ID": 3,
    "TYPES": "sample string 4",
    "PHONE": "sample string 5",
    "SEQ": 6,
    "LM": "sample string 7",
    "T2C": 1,
    "NOTE": "sample string 8",
    "OLD": 1,
    "T2CEntity": {
      "ID": 1,
      "DESCRIPTION": "sample string 2",
      "SEQ": 3,
      "DIV_ID": 4,
      "OLD": 1
    }
  }
]

application/octet-stream

Sample:
[{"ID":1,"CPI":"sample string 2","DIV_ID":3,"TYPES":"sample string 4","PHONE":"sample string 5","SEQ":6,"LM":"sample string 7","T2C":1,"NOTE":"sample string 8","OLD":1,"T2CEntity":{"ID":1,"DESCRIPTION":"sample string 2","SEQ":3,"DIV_ID":4,"OLD":1}},{"ID":1,"CPI":"sample string 2","DIV_ID":3,"TYPES":"sample string 4","PHONE":"sample string 5","SEQ":6,"LM":"sample string 7","T2C":1,"NOTE":"sample string 8","OLD":1,"T2CEntity":{"ID":1,"DESCRIPTION":"sample string 2","SEQ":3,"DIV_ID":4,"OLD":1}}]

application/xml, text/xml

Sample:
<ArrayOfPatientPhone xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <PatientPhone>
    <ID>1</ID>
    <CPI>sample string 2</CPI>
    <DIV_ID>3</DIV_ID>
    <TYPES>sample string 4</TYPES>
    <PHONE>sample string 5</PHONE>
    <SEQ>6</SEQ>
    <LM>sample string 7</LM>
    <T2C>1</T2C>
    <NOTE>sample string 8</NOTE>
    <OLD>1</OLD>
    <T2CEntity>
      <ID>1</ID>
      <DESCRIPTION>sample string 2</DESCRIPTION>
      <SEQ>3</SEQ>
      <DIV_ID>4</DIV_ID>
      <OLD>1</OLD>
    </T2CEntity>
  </PatientPhone>
  <PatientPhone>
    <ID>1</ID>
    <CPI>sample string 2</CPI>
    <DIV_ID>3</DIV_ID>
    <TYPES>sample string 4</TYPES>
    <PHONE>sample string 5</PHONE>
    <SEQ>6</SEQ>
    <LM>sample string 7</LM>
    <T2C>1</T2C>
    <NOTE>sample string 8</NOTE>
    <OLD>1</OLD>
    <T2CEntity>
      <ID>1</ID>
      <DESCRIPTION>sample string 2</DESCRIPTION>
      <SEQ>3</SEQ>
      <DIV_ID>4</DIV_ID>
      <OLD>1</OLD>
    </T2CEntity>
  </PatientPhone>
</ArrayOfPatientPhone>

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 'PatientPhone[]'.

Response Information

Resource Description

None.