PUT Setup/BusinessUnit/{bUID}?validateOnly={validateOnly}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
bUID | integer |
Required |
|
validateOnly | boolean |
Default value is False |
Body Parameters
BusinessUnitDTOName | Description | Type | Additional information |
---|---|---|---|
BUID | integer |
None. |
|
OUID | integer |
None. |
|
BUName | string |
None. |
|
GLCode | string |
None. |
|
EventStartUtc | date |
None. |
|
EventStopUtc | date |
None. |
|
EventNextStopUtc | date |
None. |
|
Comments | string |
None. |
|
Props | Collection of Object |
None. |
|
Addresses | AddressesDTO |
None. |
|
CommunicationMethods | CommunicationMethodsDTO |
None. |
|
RecordState | RecordState |
None. |
|
Created | AuditDataDTO |
None. |
|
LastUpdated | AuditDataDTO |
None. |
|
IsPartialData | boolean |
None. |
|
Summary | string |
None. |
|
OrganizationalUnitName | string |
None. |
|
BusinessUnitStartDayOfWeek | integer |
None. |
|
TimeZone | string |
None. |
|
AlternativeGLCodes | Collection of AlternativeDTO |
None. |
|
businessUnitSettingDTOs | Collection of BusinessUnitSettingDTO |
None. |
|
Type | BusinessUnitType |
None. |
Request Formats
application/json, text/json
Sample:
{ "buid": 1, "ouid": 2, "buName": "sample string 3", "glCode": "sample string 4", "eventStartUtc": "2024-12-04T08:04:02.7619226+00:00", "eventStopUtc": "2024-12-04T08:04:02.7619226+00:00", "eventNextStopUtc": "2024-12-04T08:04:02.7619226+00:00", "comments": "sample string 8", "recordState": 1, "created": { "dateUtc": "2024-12-04T08:04:02.7619226+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 8:04:02 AM" }, "lastUpdated": { "dateUtc": "2024-12-04T08:04:02.7619226+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 8:04:02 AM" }, "isPartialData": true, "summary": "sample string 3", "organizationalUnitName": "sample string 10", "businessUnitStartDayOfWeek": 11, "timeZone": "sample string 12", "alternativeGLCodes": [ { "id": 1, "name": "sample string 2", "details": "sample string 3", "description": "sample string 4" }, { "id": 1, "name": "sample string 2", "details": "sample string 3", "description": "sample string 4" } ], "businessUnitSettingDTOs": [ { "settingID": 1, "buid": 2, "name": "sample string 3", "props": [], "recordState": 1, "created": { "dateUtc": "2024-12-04T08:04:02.7619226+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 8:04:02 AM" }, "lastUpdated": { "dateUtc": "2024-12-04T08:04:02.7619226+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 8:04:02 AM" }, "summary": "sample string 3", "defaultAccommodationFunder": "", "feesFunder": "", "defaultFundingFunder": "" }, { "settingID": 1, "buid": 2, "name": "sample string 3", "props": [], "recordState": 1, "created": { "dateUtc": "2024-12-04T08:04:02.7619226+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 8:04:02 AM" }, "lastUpdated": { "dateUtc": "2024-12-04T08:04:02.7619226+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 8:04:02 AM" }, "summary": "sample string 3", "defaultAccommodationFunder": "", "feesFunder": "", "defaultFundingFunder": "" } ], "type": 1 }
application/xml, text/xml
Sample:
<BusinessUnitDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProcuraGroup.Models"> <Addresses> <List /> <PartialData>FullData</PartialData> </Addresses> <AlternativeGLCodes> <AlternativeDTO> <Description>sample string 4</Description> <Details>sample string 3</Details> <Id>1</Id> <Name>sample string 2</Name> </AlternativeDTO> <AlternativeDTO> <Description>sample string 4</Description> <Details>sample string 3</Details> <Id>1</Id> <Name>sample string 2</Name> </AlternativeDTO> </AlternativeGLCodes> <BUID>1</BUID> <BUName>sample string 3</BUName> <BusinessUnitStartDayOfWeek>11</BusinessUnitStartDayOfWeek> <Comments>sample string 8</Comments> <CommunicationMethods> <List /> <PartialData>FullData</PartialData> <PhoneNumbers /> </CommunicationMethods> <Created> <DateUtc>2024-12-04T08:04:02.7619226+00:00</DateUtc> <UserName>sample string 2</UserName> </Created> <EventNextStopUtc>2024-12-04T08:04:02.7619226+00:00</EventNextStopUtc> <EventStartUtc>2024-12-04T08:04:02.7619226+00:00</EventStartUtc> <EventStopUtc>2024-12-04T08:04:02.7619226+00:00</EventStopUtc> <GLCode>sample string 4</GLCode> <IsPartialData>true</IsPartialData> <LastUpdated> <DateUtc>2024-12-04T08:04:02.7619226+00:00</DateUtc> <UserName>sample string 2</UserName> </LastUpdated> <OUID>2</OUID> <OrganizationalUnitName>sample string 10</OrganizationalUnitName> <Props xmlns:d2p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Common" i:nil="true" /> <RecordState>Active</RecordState> <TimeZone>sample string 12</TimeZone> <Type>RM</Type> <businessUnitSettingDTOs> <BusinessUnitSettingDTO> <BUID>2</BUID> <Created> <DateUtc>2024-12-04T08:04:02.7619226+00:00</DateUtc> <UserName>sample string 2</UserName> </Created> <LastUpdated> <DateUtc>2024-12-04T08:04:02.7619226+00:00</DateUtc> <UserName>sample string 2</UserName> </LastUpdated> <Name>sample string 3</Name> <Props xmlns:d4p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Common" /> <RecordState>Active</RecordState> <SettingID>1</SettingID> </BusinessUnitSettingDTO> <BusinessUnitSettingDTO> <BUID>2</BUID> <Created> <DateUtc>2024-12-04T08:04:02.7619226+00:00</DateUtc> <UserName>sample string 2</UserName> </Created> <LastUpdated> <DateUtc>2024-12-04T08:04:02.7619226+00:00</DateUtc> <UserName>sample string 2</UserName> </LastUpdated> <Name>sample string 3</Name> <Props xmlns:d4p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Common" /> <RecordState>Active</RecordState> <SettingID>1</SettingID> </BusinessUnitSettingDTO> </businessUnitSettingDTOs> </BusinessUnitDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
application/x-compressed-json
Sample:
� �T]K�0�+%�VMc�oá:������6)��p��2�I�o�Dq��Aķ���qr�i��flXkŲ$f� DL7=Y˘�eU@��i3�vX��šU�PJL��%J�}�)Cp�n&b��W|?�i����nr �����5��fI�Y�۲�B�D}�@�u��#4��PH˘1E��Sj�uw�@_��t�e,�&J�v�FD��Q��cVH��J�:�_��Z]��e�jX�)ƺ�4�A��F}���P�k� x�#u��|t pG��,�K����:�G�Р ���ַ3�0�Y�(u�식��U��b�y������t��_��_�'݆����me�U�V�r�o���|�l#Y��ïŪ��G�Q�(����x^�+j����W�$EpZ)�/ua��^
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |