POST api/Issue/New
Request Information
URI Parameters
None.
Body Parameters
IssueName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
IssueTypeName | string |
None. |
|
IssueTypeId | globally unique identifier |
None. |
|
UnitId | globally unique identifier |
None. |
|
UnitName | string |
None. |
|
BuildingId | globally unique identifier |
None. |
|
BuildingName | string |
None. |
|
BuildingNumber | string |
None. |
|
ProjectShortCode | string |
None. |
|
IssueId | string |
None. |
|
Id | globally unique identifier |
None. |
|
StatusReason | string |
None. |
|
ScheduledDate | date |
None. |
|
ScheduledDateTo | date |
None. |
|
TradeId | globally unique identifier |
None. |
|
TradeName | string |
None. |
|
TradeWarrantyContactName | string |
None. |
|
TradeWarrantyContactEmail | string |
None. |
|
TradeWarrantyContactPhone | string |
None. |
|
Description | string |
None. |
|
Resolution | string |
None. |
|
SubmittedBy | string |
None. |
|
CreatedDate | date |
None. |
|
OpportunityId | globally unique identifier |
None. |
|
CreatedByUser | string |
None. |
|
CreatedByCustomerId | globally unique identifier |
None. |
|
CreatedByCustomer | string |
None. |
|
IssueInRoom | string |
None. |
|
IssueInRoomId | globally unique identifier |
None. |
|
TradeNotifiedOn | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "Name": "sample string 1", "IssueTypeName": "sample string 2", "IssueTypeId": "12c6ab6a-98ed-4922-9fa6-7f11c841bcde", "UnitId": "de1ed87c-79f7-4f09-8846-6392dcbc16df", "UnitName": "sample string 3", "BuildingId": "88d59e31-0fb2-4207-8bf1-ba3f48ffc7f3", "BuildingName": "sample string 4", "BuildingNumber": "sample string 5", "ProjectShortCode": "sample string 6", "IssueId": "sample string 7", "Id": "f34f4707-6a16-4d84-b685-fa6c9033fe5d", "StatusReason": "sample string 9", "ScheduledDate": "2024-12-10T13:35:27.8297587+00:00", "ScheduledDateTo": "2024-12-10T13:35:27.8297587+00:00", "TradeId": "ab36412d-8e36-48de-993a-e9022c1dc358", "TradeName": "sample string 10", "TradeWarrantyContactName": "sample string 11", "TradeWarrantyContactEmail": "sample string 12", "TradeWarrantyContactPhone": "sample string 13", "Description": "sample string 14", "Resolution": "sample string 15", "SubmittedBy": "sample string 16", "CreatedDate": "2024-12-10T13:35:27.8297587+00:00", "OpportunityId": "15bc6484-cc0c-4d0c-bfbe-6e685f839b44", "CreatedByUser": "sample string 18", "CreatedByCustomerId": "68ee0010-58c5-4e10-b16f-de422aebaa73", "CreatedByCustomer": "sample string 19", "IssueInRoom": "sample string 20", "IssueInRoomId": "69f0f8ec-aa1c-43b8-9c10-af47ab6655dc", "TradeNotifiedOn": "2024-12-10T13:35:27.8297587+00:00" }
text/html
Sample:
{"Name":"sample string 1","IssueTypeName":"sample string 2","IssueTypeId":"12c6ab6a-98ed-4922-9fa6-7f11c841bcde","UnitId":"de1ed87c-79f7-4f09-8846-6392dcbc16df","UnitName":"sample string 3","BuildingId":"88d59e31-0fb2-4207-8bf1-ba3f48ffc7f3","BuildingName":"sample string 4","BuildingNumber":"sample string 5","ProjectShortCode":"sample string 6","IssueId":"sample string 7","Id":"f34f4707-6a16-4d84-b685-fa6c9033fe5d","StatusReason":"sample string 9","ScheduledDate":"2024-12-10T13:35:27.8297587+00:00","ScheduledDateTo":"2024-12-10T13:35:27.8297587+00:00","TradeId":"ab36412d-8e36-48de-993a-e9022c1dc358","TradeName":"sample string 10","TradeWarrantyContactName":"sample string 11","TradeWarrantyContactEmail":"sample string 12","TradeWarrantyContactPhone":"sample string 13","Description":"sample string 14","Resolution":"sample string 15","SubmittedBy":"sample string 16","CreatedDate":"2024-12-10T13:35:27.8297587+00:00","OpportunityId":"15bc6484-cc0c-4d0c-bfbe-6e685f839b44","CreatedByUser":"sample string 18","CreatedByCustomerId":"68ee0010-58c5-4e10-b16f-de422aebaa73","CreatedByCustomer":"sample string 19","IssueInRoom":"sample string 20","IssueInRoomId":"69f0f8ec-aa1c-43b8-9c10-af47ab6655dc","TradeNotifiedOn":"2024-12-10T13:35:27.8297587+00:00"}
application/xml, text/xml
Sample:
<Issue xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BRH.Services.Models"> <BuildingId>88d59e31-0fb2-4207-8bf1-ba3f48ffc7f3</BuildingId> <BuildingName>sample string 4</BuildingName> <BuildingNumber>sample string 5</BuildingNumber> <CreatedByCustomer>sample string 19</CreatedByCustomer> <CreatedByCustomerId>68ee0010-58c5-4e10-b16f-de422aebaa73</CreatedByCustomerId> <CreatedByUser>sample string 18</CreatedByUser> <CreatedDate>2024-12-10T13:35:27.8297587+00:00</CreatedDate> <Description>sample string 14</Description> <Id>f34f4707-6a16-4d84-b685-fa6c9033fe5d</Id> <IssueId>sample string 7</IssueId> <IssueInRoom>sample string 20</IssueInRoom> <IssueInRoomId>69f0f8ec-aa1c-43b8-9c10-af47ab6655dc</IssueInRoomId> <IssueTypeId>12c6ab6a-98ed-4922-9fa6-7f11c841bcde</IssueTypeId> <IssueTypeName>sample string 2</IssueTypeName> <Name>sample string 1</Name> <OpportunityId>15bc6484-cc0c-4d0c-bfbe-6e685f839b44</OpportunityId> <ProjectShortCode>sample string 6</ProjectShortCode> <Resolution>sample string 15</Resolution> <ScheduledDate>2024-12-10T13:35:27.8297587+00:00</ScheduledDate> <ScheduledDateTo>2024-12-10T13:35:27.8297587+00:00</ScheduledDateTo> <StatusReason>sample string 9</StatusReason> <SubmittedBy>sample string 16</SubmittedBy> <TradeId>ab36412d-8e36-48de-993a-e9022c1dc358</TradeId> <TradeName>sample string 10</TradeName> <TradeNotifiedOn>2024-12-10T13:35:27.8297587+00:00</TradeNotifiedOn> <TradeWarrantyContactEmail>sample string 12</TradeWarrantyContactEmail> <TradeWarrantyContactName>sample string 11</TradeWarrantyContactName> <TradeWarrantyContactPhone>sample string 13</TradeWarrantyContactPhone> <UnitId>de1ed87c-79f7-4f09-8846-6392dcbc16df</UnitId> <UnitName>sample string 3</UnitName> </Issue>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
JsonResultOfGuidName | Description | Type | Additional information |
---|---|---|---|
Content | globally unique identifier |
None. |
|
SerializerSettings | JsonSerializerSettings |
None. |
|
Encoding | Encoding |
None. |
|
Request | HttpRequestMessage |
None. |
Response Formats
application/json, text/json, text/html
Sample:
Sample not available.