PUT Users/BusinessUnit/{userID}/{bUID}?validateOnly={validateOnly}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userID

integer

Required

bUID

integer

Required

validateOnly

boolean

Default value is False

Body Parameters

UserBusinessUnitDTO
NameDescriptionTypeAdditional information
UserID

integer

None.

BUID

integer

None.

RecordState

RecordState

None.

Created

AuditDataDTO

None.

LastUpdated

AuditDataDTO

None.

BusinessUnitName

string

None.

BusinessUnitType

BusinessUnitType

None.

Summary

string

None.

Request Formats

application/json, text/json

Sample:
{
  "userID": 1,
  "buid": 2,
  "recordState": 1,
  "created": {
    "dateUtc": "2024-12-04T08:06:37.9975814+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 8:06:37 AM"
  },
  "lastUpdated": {
    "dateUtc": "2024-12-04T08:06:37.9975814+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 8:06:37 AM"
  },
  "businessUnitName": "sample string 3",
  "businessUnitType": 1,
  "summary": "sample string 3"
}

application/xml, text/xml

Sample:
<UserBusinessUnitDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProcuraGroup.Models">
  <BUID>2</BUID>
  <BusinessUnitName>sample string 3</BusinessUnitName>
  <BusinessUnitType>RM</BusinessUnitType>
  <Created>
    <DateUtc>2024-12-04T08:06:37.9975814+00:00</DateUtc>
    <UserName>sample string 2</UserName>
  </Created>
  <LastUpdated>
    <DateUtc>2024-12-04T08:06:37.9975814+00:00</DateUtc>
    <UserName>sample string 2</UserName>
  </LastUpdated>
  <RecordState>Active</RecordState>
  <UserID>1</UserID>
</UserBusinessUnitDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

application/x-compressed-json

Sample:
�͐��0E�y� ��B7]�(�1Mh!m���$��.F��nr^νy��u��
����zɁ���[�O�91��=��P�(L�0&!N�Q���f��U��)���#S�����:#�m�3�'C�F1���Q�^n�=�@ì+;�/s��J-�-�t_�	�C��鯺�;�%�W�

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.