PUT Contacts/BusinessUnit/{contactID}/{bUID}?validateOnly={validateOnly}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
contactID

integer

Required

bUID

integer

Required

validateOnly

boolean

Default value is False

Body Parameters

ContactBusinessUnitDTO
NameDescriptionTypeAdditional information
ContactID

integer

None.

BUID

integer

None.

BusinessUnitStatusID

integer

None.

StartDateUtc

date

None.

StopDateUtc

date

None.

StatusReason

string

None.

StatusReason2

string

None.

Props

Collection of Object

None.

StatusComments

string

None.

ReferralSource

string

None.

RecordState

RecordState

None.

Created

AuditDataDTO

None.

LastUpdated

AuditDataDTO

None.

BusinessUnitName

string

None.

StatusName

string

None.

Summary

string

None.

Request Formats

application/json, text/json

Sample:
{
  "contactID": 1,
  "buid": 2,
  "businessUnitStatusID": 3,
  "startDateUtc": "2024-12-04T08:12:36.2695263+00:00",
  "stopDateUtc": "2024-12-04T08:12:36.2695263+00:00",
  "statusReason": "sample string 5",
  "statusReason2": "sample string 6",
  "statusComments": "sample string 7",
  "referralSource": "sample string 8",
  "recordState": 1,
  "created": {
    "dateUtc": "2024-12-04T08:12:36.2695263+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 8:12:36 AM"
  },
  "lastUpdated": {
    "dateUtc": "2024-12-04T08:12:36.2695263+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 8:12:36 AM"
  },
  "businessUnitName": "sample string 9",
  "statusName": "sample string 10",
  "summary": "sample string 9"
}

application/xml, text/xml

Sample:
<ContactBusinessUnitDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProcuraGroup.Models">
  <BUID>2</BUID>
  <BusinessUnitName>sample string 9</BusinessUnitName>
  <BusinessUnitStatusID>3</BusinessUnitStatusID>
  <ContactID>1</ContactID>
  <Created>
    <DateUtc>2024-12-04T08:12:36.2695263+00:00</DateUtc>
    <UserName>sample string 2</UserName>
  </Created>
  <LastUpdated>
    <DateUtc>2024-12-04T08:12:36.2695263+00:00</DateUtc>
    <UserName>sample string 2</UserName>
  </LastUpdated>
  <Props xmlns:d2p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Common" i:nil="true" />
  <RecordState>Active</RecordState>
  <ReferralSource>sample string 8</ReferralSource>
  <StartDateUtc>2024-12-04T08:12:36.2695263+00:00</StartDateUtc>
  <StatusComments>sample string 7</StatusComments>
  <StatusName>sample string 10</StatusName>
  <StatusReason>sample string 5</StatusReason>
  <StatusReason2>sample string 6</StatusReason2>
  <StopDateUtc>2024-12-04T08:12:36.2695263+00:00</StopDateUtc>
</ContactBusinessUnitDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

application/x-compressed-json

Sample:
�͒AN�0E�b͖�:N�ݰ�%0΀"�v�,PՓ��H\��B"Rwݍ4�ϟ�����l�l,�o@���]Z��:�D��xˆGJD����1�
[�*�Z��Y�u�tQ]��^����RK	I�s��	
?Iȸ�GA;�&V5#�#q�C�4Cn&$�+�h�m���> 6�6��|lĩ�"�A{�E#a|4n�Ү�s&��{"x��e�L�g��}�}�!n��R���aNN���r����k�����

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.