POST Setup/ServiceBusMessage?validateOnly={validateOnly}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
validateOnly

boolean

Default value is False

Body Parameters

ServiceBusMessageDTO
NameDescriptionTypeAdditional information
MessageType

ServiceBusMessageType

None.

ChannelType

ServiceBusChannelType

None.

MessageSource

string

None.

MessageTarget

string

None.

MessageHeader

string

None.

MessageDateUtc

date

None.

MessageSourceReferenceID

string

None.

MessagePayload

string

None.

MessagePayloadProps

Collection of Object

None.

MessageResults

string

None.

SubscriberDetails

Collection of ServiceBusMessageSubscriberDetailDTO

None.

RecordState

RecordState

None.

Created

AuditDataDTO

None.

LastUpdated

AuditDataDTO

None.

EventStatus

string

None.

MessageID

integer

None.

MessageState

ServiceBusMessageState

None.

Request Formats

application/json, text/json

Sample:
{
  "messageType": 1,
  "channelType": 1,
  "messageSource": "sample string 1",
  "messageTarget": "sample string 2",
  "messageHeader": "sample string 3",
  "messageDateUtc": "2024-12-04T08:14:19.8829895+00:00",
  "messageSourceReferenceID": "sample string 5",
  "messagePayload": "sample string 6",
  "messageResults": "sample string 7",
  "subscriberDetails": [
    {
      "subscriberDetailID": 1,
      "messageID": 2,
      "messageTarget": "sample string 3",
      "messageState": 1,
      "results": "sample string 4",
      "recordState": 1,
      "created": {
        "dateUtc": "2024-12-04T08:14:19.8835272+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 8:14:19 AM"
      },
      "lastUpdated": {
        "dateUtc": "2024-12-04T08:14:19.8835272+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 8:14:19 AM"
      }
    },
    {
      "subscriberDetailID": 1,
      "messageID": 2,
      "messageTarget": "sample string 3",
      "messageState": 1,
      "results": "sample string 4",
      "recordState": 1,
      "created": {
        "dateUtc": "2024-12-04T08:14:19.8835272+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 8:14:19 AM"
      },
      "lastUpdated": {
        "dateUtc": "2024-12-04T08:14:19.8835272+00:00",
        "userName": "sample string 2",
        "summary": "sample string 2 on 12/4/2024 8:14:19 AM"
      }
    }
  ],
  "recordState": 1,
  "created": {
    "dateUtc": "2024-12-04T08:14:19.8835272+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 8:14:19 AM"
  },
  "lastUpdated": {
    "dateUtc": "2024-12-04T08:14:19.8835272+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 8:14:19 AM"
  },
  "eventStatus": "sample string 8",
  "messageID": 9,
  "messageState": 1
}

application/xml, text/xml

Sample:
<ServiceBusMessageDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProcuraGroup.Models">
  <MessageID>9</MessageID>
  <MessageState>New</MessageState>
  <ChannelType>PointToPoint</ChannelType>
  <Created>
    <DateUtc>2024-12-04T08:14:19.8835272+00:00</DateUtc>
    <UserName>sample string 2</UserName>
  </Created>
  <EventStatus>sample string 8</EventStatus>
  <LastUpdated>
    <DateUtc>2024-12-04T08:14:19.8835272+00:00</DateUtc>
    <UserName>sample string 2</UserName>
  </LastUpdated>
  <MessageDateUtc>2024-12-04T08:14:19.8829895+00:00</MessageDateUtc>
  <MessageHeader>sample string 3</MessageHeader>
  <MessagePayload>sample string 6</MessagePayload>
  <MessagePayloadProps xmlns:d2p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Common" i:nil="true" />
  <MessageResults>sample string 7</MessageResults>
  <MessageSource>sample string 1</MessageSource>
  <MessageSourceReferenceID>sample string 5</MessageSourceReferenceID>
  <MessageTarget>sample string 2</MessageTarget>
  <MessageType>Event</MessageType>
  <RecordState>Active</RecordState>
  <SubscriberDetails>
    <ServiceBusMessageSubscriberDetailDTO>
      <Created>
        <DateUtc>2024-12-04T08:14:19.8835272+00:00</DateUtc>
        <UserName>sample string 2</UserName>
      </Created>
      <LastUpdated>
        <DateUtc>2024-12-04T08:14:19.8835272+00:00</DateUtc>
        <UserName>sample string 2</UserName>
      </LastUpdated>
      <MessageID>2</MessageID>
      <MessageState>New</MessageState>
      <MessageTarget>sample string 3</MessageTarget>
      <RecordState>Active</RecordState>
      <Results>sample string 4</Results>
      <SubscriberDetailID>1</SubscriberDetailID>
    </ServiceBusMessageSubscriberDetailDTO>
    <ServiceBusMessageSubscriberDetailDTO>
      <Created>
        <DateUtc>2024-12-04T08:14:19.8835272+00:00</DateUtc>
        <UserName>sample string 2</UserName>
      </Created>
      <LastUpdated>
        <DateUtc>2024-12-04T08:14:19.8835272+00:00</DateUtc>
        <UserName>sample string 2</UserName>
      </LastUpdated>
      <MessageID>2</MessageID>
      <MessageState>New</MessageState>
      <MessageTarget>sample string 3</MessageTarget>
      <RecordState>Active</RecordState>
      <Results>sample string 4</Results>
      <SubscriberDetailID>1</SubscriberDetailID>
    </ServiceBusMessageSubscriberDetailDTO>
  </SubscriberDetails>
</ServiceBusMessageDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

application/x-compressed-json

Sample:
�풱N�0�_%�JJ7�I6�0�P�N��u��q"�A��<��+�TUM�P;t��>����}}|��h	y�J�7*�C�ϯ�N2��[�Ҳ���SY�vb�;�H�XX"�6��`�2�a��4� ��c��It�q�1�%m� A0�Ϝ���h�Z8ȍEV�:���,
���b�ڂ�@ӊ�yp~'	ֺ)"�l�a�Zv�JB4�X#�2	�iPq��ED���b�@>���-��[�T�n�k��y8�Zx����}ĩқ�89���Y��������;=չW���N���E���

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.