POST siteTypeRelationship/save

Request Information

URI Parameters

None.

Body Parameters

ContactSiteTypePost
NameDescriptionTypeAdditional information
TenantId

integer

None.

UserId

integer

None.

SiteTypeRelationship

integer

None.

RelationshipDesc

string

None.

IsActive

boolean

None.

IsKeyholder

boolean

None.

IsDebtor

boolean

None.

CanCancelAlarm

boolean

None.

CanDisarm

boolean

None.

HasOnSiteTimes

boolean

None.

CanViewAccounts

boolean

None.

IsLiveOnSite

boolean

None.

IsWorkOnSite

boolean

None.

IsPortalClient

boolean

None.

PrefSignalNotify

boolean

None.

PrefFeedbackNotify

boolean

None.

CanTestAlarm

boolean

None.

IVRTestingEnabled

boolean

None.

ContactListTypeId

integer

None.

ContactListTypeName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TenantId": 1,
  "UserId": 2,
  "SiteTypeRelationship": 3,
  "RelationshipDesc": "sample string 4",
  "IsActive": true,
  "IsKeyholder": true,
  "IsDebtor": true,
  "CanCancelAlarm": true,
  "CanDisarm": true,
  "HasOnSiteTimes": true,
  "CanViewAccounts": true,
  "IsLiveOnSite": true,
  "IsWorkOnSite": true,
  "IsPortalClient": true,
  "PrefSignalNotify": true,
  "PrefFeedbackNotify": true,
  "CanTestAlarm": true,
  "IVRTestingEnabled": true,
  "ContactListTypeId": 1,
  "ContactListTypeName": "sample string 19"
}

text/html

Sample:
{"TenantId":1,"UserId":2,"SiteTypeRelationship":3,"RelationshipDesc":"sample string 4","IsActive":true,"IsKeyholder":true,"IsDebtor":true,"CanCancelAlarm":true,"CanDisarm":true,"HasOnSiteTimes":true,"CanViewAccounts":true,"IsLiveOnSite":true,"IsWorkOnSite":true,"IsPortalClient":true,"PrefSignalNotify":true,"PrefFeedbackNotify":true,"CanTestAlarm":true,"IVRTestingEnabled":true,"ContactListTypeId":1,"ContactListTypeName":"sample string 19"}

application/xml, text/xml

Sample:
<ContactSiteTypePost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Contacts">
  <CanCancelAlarm>true</CanCancelAlarm>
  <CanDisarm>true</CanDisarm>
  <CanTestAlarm>true</CanTestAlarm>
  <CanViewAccounts>true</CanViewAccounts>
  <ContactListTypeId>1</ContactListTypeId>
  <ContactListTypeName>sample string 19</ContactListTypeName>
  <HasOnSiteTimes>true</HasOnSiteTimes>
  <IVRTestingEnabled>true</IVRTestingEnabled>
  <IsActive>true</IsActive>
  <IsDebtor>true</IsDebtor>
  <IsKeyholder>true</IsKeyholder>
  <IsLiveOnSite>true</IsLiveOnSite>
  <IsPortalClient>true</IsPortalClient>
  <IsWorkOnSite>true</IsWorkOnSite>
  <PrefFeedbackNotify>true</PrefFeedbackNotify>
  <PrefSignalNotify>true</PrefSignalNotify>
  <RelationshipDesc>sample string 4</RelationshipDesc>
  <SiteTypeRelationship>3</SiteTypeRelationship>
  <TenantId>1</TenantId>
  <UserId>2</UserId>
</ContactSiteTypePost>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.