POST api/Contact/BulkContactUpdate
Request Information
URI Parameters
None.
Body Parameters
ExGwyContactUpdateRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Contacts | Collection of ExtGatewayContact |
None. |
|
| SiteNum | integer |
None. |
|
| SessionNum | integer |
None. |
|
| SessionPassword | Collection of byte |
None. |
|
| ApplicationCode | string |
None. |
|
| StagesURL | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Contacts": [
{
"Authority": "sample string 1",
"ContactNum": 1,
"ECVFlag": true,
"FirstName": "sample string 2",
"LastName": "sample string 3",
"MiddleName": "sample string 4",
"PIN": "sample string 5",
"SeqNum": 1,
"BloodType": "sample string 6",
"PatientCommentBig": "sample string 7",
"DateOfBirth": "2025-12-14T17:41:21.3056634-05:00",
"Gender": "sample string 8",
"HospitalPreference": "sample string 9",
"RhFactor": "sample string 10",
"NotifyCodeList": [
{
"NotifyCode": "sample string 1",
"SelectedFlag": true
},
{
"NotifyCode": "sample string 1",
"SelectedFlag": true
}
],
"Phones": [
{
"KeyNum": 1,
"SeqNum": 1,
"AutoNotifyFlag": true,
"DataChangeNotifyFlag": true,
"SitePhoneFlag": true,
"Extension": "sample string 1",
"PhoneNumber": "sample string 2",
"Phone": "sample string 3",
"PhoneType": "sample string 4",
"Comment": "sample string 5"
},
{
"KeyNum": 1,
"SeqNum": 1,
"AutoNotifyFlag": true,
"DataChangeNotifyFlag": true,
"SitePhoneFlag": true,
"Extension": "sample string 1",
"PhoneNumber": "sample string 2",
"Phone": "sample string 3",
"PhoneType": "sample string 4",
"Comment": "sample string 5"
}
],
"EmailAddresses": [
{
"KeyNum": 1,
"SeqNum": 1,
"Email": "sample string 1",
"AutoNotifyFlag": true,
"DataChangeNotifyFlag": true
},
{
"KeyNum": 1,
"SeqNum": 1,
"Email": "sample string 1",
"AutoNotifyFlag": true,
"DataChangeNotifyFlag": true
}
]
},
{
"Authority": "sample string 1",
"ContactNum": 1,
"ECVFlag": true,
"FirstName": "sample string 2",
"LastName": "sample string 3",
"MiddleName": "sample string 4",
"PIN": "sample string 5",
"SeqNum": 1,
"BloodType": "sample string 6",
"PatientCommentBig": "sample string 7",
"DateOfBirth": "2025-12-14T17:41:21.3056634-05:00",
"Gender": "sample string 8",
"HospitalPreference": "sample string 9",
"RhFactor": "sample string 10",
"NotifyCodeList": [
{
"NotifyCode": "sample string 1",
"SelectedFlag": true
},
{
"NotifyCode": "sample string 1",
"SelectedFlag": true
}
],
"Phones": [
{
"KeyNum": 1,
"SeqNum": 1,
"AutoNotifyFlag": true,
"DataChangeNotifyFlag": true,
"SitePhoneFlag": true,
"Extension": "sample string 1",
"PhoneNumber": "sample string 2",
"Phone": "sample string 3",
"PhoneType": "sample string 4",
"Comment": "sample string 5"
},
{
"KeyNum": 1,
"SeqNum": 1,
"AutoNotifyFlag": true,
"DataChangeNotifyFlag": true,
"SitePhoneFlag": true,
"Extension": "sample string 1",
"PhoneNumber": "sample string 2",
"Phone": "sample string 3",
"PhoneType": "sample string 4",
"Comment": "sample string 5"
}
],
"EmailAddresses": [
{
"KeyNum": 1,
"SeqNum": 1,
"Email": "sample string 1",
"AutoNotifyFlag": true,
"DataChangeNotifyFlag": true
},
{
"KeyNum": 1,
"SeqNum": 1,
"Email": "sample string 1",
"AutoNotifyFlag": true,
"DataChangeNotifyFlag": true
}
]
}
],
"SiteNum": 1,
"SessionNum": 1,
"SessionPassword": "QEA=",
"ApplicationCode": "sample string 2",
"StagesURL": "sample string 3"
}
application/xml, text/xml
Sample:
<ExGwyContactUpdateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RapidAPI.Requests">
<StagesURL xmlns="http://schemas.datacontract.org/2004/07/RapidAPI.Models">sample string 3</StagesURL>
<ApplicationCode xmlns="http://schemas.datacontract.org/2004/07/RapidAPI.Models">sample string 2</ApplicationCode>
<SessionNum xmlns="http://schemas.datacontract.org/2004/07/RapidAPI.Models">1</SessionNum>
<SessionPassword xmlns="http://schemas.datacontract.org/2004/07/RapidAPI.Models">QEA=</SessionPassword>
<SiteNum xmlns="http://schemas.datacontract.org/2004/07/RapidAPI.Models">1</SiteNum>
<Contacts xmlns:d2p1="http://schemas.datacontract.org/2004/07/RapidAPI.Models">
<d2p1:ExtGatewayContact>
<d2p1:Authority>sample string 1</d2p1:Authority>
<d2p1:BloodType>sample string 6</d2p1:BloodType>
<d2p1:ContactNum>1</d2p1:ContactNum>
<d2p1:DateOfBirth>2025-12-14T17:41:21.3056634-05:00</d2p1:DateOfBirth>
<d2p1:ECVFlag>true</d2p1:ECVFlag>
<d2p1:EmailAddresses>
<d2p1:ExtGatewayEmailAddress>
<d2p1:AutoNotifyFlag>true</d2p1:AutoNotifyFlag>
<d2p1:DataChangeNotifyFlag>true</d2p1:DataChangeNotifyFlag>
<d2p1:Email>sample string 1</d2p1:Email>
<d2p1:KeyNum>1</d2p1:KeyNum>
<d2p1:SeqNum>1</d2p1:SeqNum>
</d2p1:ExtGatewayEmailAddress>
<d2p1:ExtGatewayEmailAddress>
<d2p1:AutoNotifyFlag>true</d2p1:AutoNotifyFlag>
<d2p1:DataChangeNotifyFlag>true</d2p1:DataChangeNotifyFlag>
<d2p1:Email>sample string 1</d2p1:Email>
<d2p1:KeyNum>1</d2p1:KeyNum>
<d2p1:SeqNum>1</d2p1:SeqNum>
</d2p1:ExtGatewayEmailAddress>
</d2p1:EmailAddresses>
<d2p1:FirstName>sample string 2</d2p1:FirstName>
<d2p1:Gender>sample string 8</d2p1:Gender>
<d2p1:HospitalPreference>sample string 9</d2p1:HospitalPreference>
<d2p1:LastName>sample string 3</d2p1:LastName>
<d2p1:MiddleName>sample string 4</d2p1:MiddleName>
<d2p1:NotifyCodeList>
<d2p1:ExtGatewayNotifyCode>
<d2p1:NotifyCode>sample string 1</d2p1:NotifyCode>
<d2p1:SelectedFlag>true</d2p1:SelectedFlag>
</d2p1:ExtGatewayNotifyCode>
<d2p1:ExtGatewayNotifyCode>
<d2p1:NotifyCode>sample string 1</d2p1:NotifyCode>
<d2p1:SelectedFlag>true</d2p1:SelectedFlag>
</d2p1:ExtGatewayNotifyCode>
</d2p1:NotifyCodeList>
<d2p1:PIN>sample string 5</d2p1:PIN>
<d2p1:PatientCommentBig>sample string 7</d2p1:PatientCommentBig>
<d2p1:Phones>
<d2p1:ExtGatewayPhone>
<d2p1:AutoNotifyFlag>true</d2p1:AutoNotifyFlag>
<d2p1:Comment>sample string 5</d2p1:Comment>
<d2p1:DataChangeNotifyFlag>true</d2p1:DataChangeNotifyFlag>
<d2p1:Extension>sample string 1</d2p1:Extension>
<d2p1:KeyNum>1</d2p1:KeyNum>
<d2p1:Phone>sample string 3</d2p1:Phone>
<d2p1:PhoneNumber>sample string 2</d2p1:PhoneNumber>
<d2p1:PhoneType>sample string 4</d2p1:PhoneType>
<d2p1:SeqNum>1</d2p1:SeqNum>
<d2p1:SitePhoneFlag>true</d2p1:SitePhoneFlag>
</d2p1:ExtGatewayPhone>
<d2p1:ExtGatewayPhone>
<d2p1:AutoNotifyFlag>true</d2p1:AutoNotifyFlag>
<d2p1:Comment>sample string 5</d2p1:Comment>
<d2p1:DataChangeNotifyFlag>true</d2p1:DataChangeNotifyFlag>
<d2p1:Extension>sample string 1</d2p1:Extension>
<d2p1:KeyNum>1</d2p1:KeyNum>
<d2p1:Phone>sample string 3</d2p1:Phone>
<d2p1:PhoneNumber>sample string 2</d2p1:PhoneNumber>
<d2p1:PhoneType>sample string 4</d2p1:PhoneType>
<d2p1:SeqNum>1</d2p1:SeqNum>
<d2p1:SitePhoneFlag>true</d2p1:SitePhoneFlag>
</d2p1:ExtGatewayPhone>
</d2p1:Phones>
<d2p1:RhFactor>sample string 10</d2p1:RhFactor>
<d2p1:SeqNum>1</d2p1:SeqNum>
</d2p1:ExtGatewayContact>
<d2p1:ExtGatewayContact>
<d2p1:Authority>sample string 1</d2p1:Authority>
<d2p1:BloodType>sample string 6</d2p1:BloodType>
<d2p1:ContactNum>1</d2p1:ContactNum>
<d2p1:DateOfBirth>2025-12-14T17:41:21.3056634-05:00</d2p1:DateOfBirth>
<d2p1:ECVFlag>true</d2p1:ECVFlag>
<d2p1:EmailAddresses>
<d2p1:ExtGatewayEmailAddress>
<d2p1:AutoNotifyFlag>true</d2p1:AutoNotifyFlag>
<d2p1:DataChangeNotifyFlag>true</d2p1:DataChangeNotifyFlag>
<d2p1:Email>sample string 1</d2p1:Email>
<d2p1:KeyNum>1</d2p1:KeyNum>
<d2p1:SeqNum>1</d2p1:SeqNum>
</d2p1:ExtGatewayEmailAddress>
<d2p1:ExtGatewayEmailAddress>
<d2p1:AutoNotifyFlag>true</d2p1:AutoNotifyFlag>
<d2p1:DataChangeNotifyFlag>true</d2p1:DataChangeNotifyFlag>
<d2p1:Email>sample string 1</d2p1:Email>
<d2p1:KeyNum>1</d2p1:KeyNum>
<d2p1:SeqNum>1</d2p1:SeqNum>
</d2p1:ExtGatewayEmailAddress>
</d2p1:EmailAddresses>
<d2p1:FirstName>sample string 2</d2p1:FirstName>
<d2p1:Gender>sample string 8</d2p1:Gender>
<d2p1:HospitalPreference>sample string 9</d2p1:HospitalPreference>
<d2p1:LastName>sample string 3</d2p1:LastName>
<d2p1:MiddleName>sample string 4</d2p1:MiddleName>
<d2p1:NotifyCodeList>
<d2p1:ExtGatewayNotifyCode>
<d2p1:NotifyCode>sample string 1</d2p1:NotifyCode>
<d2p1:SelectedFlag>true</d2p1:SelectedFlag>
</d2p1:ExtGatewayNotifyCode>
<d2p1:ExtGatewayNotifyCode>
<d2p1:NotifyCode>sample string 1</d2p1:NotifyCode>
<d2p1:SelectedFlag>true</d2p1:SelectedFlag>
</d2p1:ExtGatewayNotifyCode>
</d2p1:NotifyCodeList>
<d2p1:PIN>sample string 5</d2p1:PIN>
<d2p1:PatientCommentBig>sample string 7</d2p1:PatientCommentBig>
<d2p1:Phones>
<d2p1:ExtGatewayPhone>
<d2p1:AutoNotifyFlag>true</d2p1:AutoNotifyFlag>
<d2p1:Comment>sample string 5</d2p1:Comment>
<d2p1:DataChangeNotifyFlag>true</d2p1:DataChangeNotifyFlag>
<d2p1:Extension>sample string 1</d2p1:Extension>
<d2p1:KeyNum>1</d2p1:KeyNum>
<d2p1:Phone>sample string 3</d2p1:Phone>
<d2p1:PhoneNumber>sample string 2</d2p1:PhoneNumber>
<d2p1:PhoneType>sample string 4</d2p1:PhoneType>
<d2p1:SeqNum>1</d2p1:SeqNum>
<d2p1:SitePhoneFlag>true</d2p1:SitePhoneFlag>
</d2p1:ExtGatewayPhone>
<d2p1:ExtGatewayPhone>
<d2p1:AutoNotifyFlag>true</d2p1:AutoNotifyFlag>
<d2p1:Comment>sample string 5</d2p1:Comment>
<d2p1:DataChangeNotifyFlag>true</d2p1:DataChangeNotifyFlag>
<d2p1:Extension>sample string 1</d2p1:Extension>
<d2p1:KeyNum>1</d2p1:KeyNum>
<d2p1:Phone>sample string 3</d2p1:Phone>
<d2p1:PhoneNumber>sample string 2</d2p1:PhoneNumber>
<d2p1:PhoneType>sample string 4</d2p1:PhoneType>
<d2p1:SeqNum>1</d2p1:SeqNum>
<d2p1:SitePhoneFlag>true</d2p1:SitePhoneFlag>
</d2p1:ExtGatewayPhone>
</d2p1:Phones>
<d2p1:RhFactor>sample string 10</d2p1:RhFactor>
<d2p1:SeqNum>1</d2p1:SeqNum>
</d2p1:ExtGatewayContact>
</Contacts>
</ExGwyContactUpdateRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BaseQueryResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| UserErrorMessage | string |
None. |
|
| ErrorTypeNum | integer |
None. |
|
| SqlConnectionLost | boolean |
None. |
|
| ClientVersion | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"UserErrorMessage": "sample string 2",
"ErrorTypeNum": 3,
"SqlConnectionLost": true,
"ClientVersion": "sample string 5"
}
application/xml, text/xml
Sample:
<BaseQueryResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Stages"> <ClientVersion>sample string 5</ClientVersion> <ErrorTypeNum>3</ErrorTypeNum> <SqlConnectionLost>true</SqlConnectionLost> <Success>true</Success> <UserErrorMessage>sample string 2</UserErrorMessage> </BaseQueryResult>