POST api/Issue/Decline

Request Information

URI Parameters

None.

Body Parameters

Issue
NameDescriptionTypeAdditional 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": "68e79177-0304-4818-a12e-b31bd5db97df",
  "UnitId": "a09f348d-0dc1-4a3e-9e52-8cb959478f43",
  "UnitName": "sample string 3",
  "BuildingId": "0a91117f-208b-4860-b17b-4806a4523d44",
  "BuildingName": "sample string 4",
  "BuildingNumber": "sample string 5",
  "ProjectShortCode": "sample string 6",
  "IssueId": "sample string 7",
  "Id": "4b41c1ed-fb26-45b3-b326-83a5c0e86031",
  "StatusReason": "sample string 9",
  "ScheduledDate": "2024-12-22T11:11:05.314229+00:00",
  "ScheduledDateTo": "2024-12-22T11:11:05.314229+00:00",
  "TradeId": "0bcae3ec-9326-4a92-9d0a-47b6eee03344",
  "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-22T11:11:05.314229+00:00",
  "OpportunityId": "7f20d977-eabb-44f3-8476-ac5a6aa104e6",
  "CreatedByUser": "sample string 18",
  "CreatedByCustomerId": "f62f9efc-4692-4c9f-ab96-b65c198ccdbf",
  "CreatedByCustomer": "sample string 19",
  "IssueInRoom": "sample string 20",
  "IssueInRoomId": "0a7a1ebf-3e3e-4987-999e-e4a2e6a0d8d6",
  "TradeNotifiedOn": "2024-12-22T11:11:05.314229+00:00"
}

text/html

Sample:
{"Name":"sample string 1","IssueTypeName":"sample string 2","IssueTypeId":"68e79177-0304-4818-a12e-b31bd5db97df","UnitId":"a09f348d-0dc1-4a3e-9e52-8cb959478f43","UnitName":"sample string 3","BuildingId":"0a91117f-208b-4860-b17b-4806a4523d44","BuildingName":"sample string 4","BuildingNumber":"sample string 5","ProjectShortCode":"sample string 6","IssueId":"sample string 7","Id":"4b41c1ed-fb26-45b3-b326-83a5c0e86031","StatusReason":"sample string 9","ScheduledDate":"2024-12-22T11:11:05.314229+00:00","ScheduledDateTo":"2024-12-22T11:11:05.314229+00:00","TradeId":"0bcae3ec-9326-4a92-9d0a-47b6eee03344","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-22T11:11:05.314229+00:00","OpportunityId":"7f20d977-eabb-44f3-8476-ac5a6aa104e6","CreatedByUser":"sample string 18","CreatedByCustomerId":"f62f9efc-4692-4c9f-ab96-b65c198ccdbf","CreatedByCustomer":"sample string 19","IssueInRoom":"sample string 20","IssueInRoomId":"0a7a1ebf-3e3e-4987-999e-e4a2e6a0d8d6","TradeNotifiedOn":"2024-12-22T11:11:05.314229+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>0a91117f-208b-4860-b17b-4806a4523d44</BuildingId>
  <BuildingName>sample string 4</BuildingName>
  <BuildingNumber>sample string 5</BuildingNumber>
  <CreatedByCustomer>sample string 19</CreatedByCustomer>
  <CreatedByCustomerId>f62f9efc-4692-4c9f-ab96-b65c198ccdbf</CreatedByCustomerId>
  <CreatedByUser>sample string 18</CreatedByUser>
  <CreatedDate>2024-12-22T11:11:05.314229+00:00</CreatedDate>
  <Description>sample string 14</Description>
  <Id>4b41c1ed-fb26-45b3-b326-83a5c0e86031</Id>
  <IssueId>sample string 7</IssueId>
  <IssueInRoom>sample string 20</IssueInRoom>
  <IssueInRoomId>0a7a1ebf-3e3e-4987-999e-e4a2e6a0d8d6</IssueInRoomId>
  <IssueTypeId>68e79177-0304-4818-a12e-b31bd5db97df</IssueTypeId>
  <IssueTypeName>sample string 2</IssueTypeName>
  <Name>sample string 1</Name>
  <OpportunityId>7f20d977-eabb-44f3-8476-ac5a6aa104e6</OpportunityId>
  <ProjectShortCode>sample string 6</ProjectShortCode>
  <Resolution>sample string 15</Resolution>
  <ScheduledDate>2024-12-22T11:11:05.314229+00:00</ScheduledDate>
  <ScheduledDateTo>2024-12-22T11:11:05.314229+00:00</ScheduledDateTo>
  <StatusReason>sample string 9</StatusReason>
  <SubmittedBy>sample string 16</SubmittedBy>
  <TradeId>0bcae3ec-9326-4a92-9d0a-47b6eee03344</TradeId>
  <TradeName>sample string 10</TradeName>
  <TradeNotifiedOn>2024-12-22T11:11:05.314229+00:00</TradeNotifiedOn>
  <TradeWarrantyContactEmail>sample string 12</TradeWarrantyContactEmail>
  <TradeWarrantyContactName>sample string 11</TradeWarrantyContactName>
  <TradeWarrantyContactPhone>sample string 13</TradeWarrantyContactPhone>
  <UnitId>a09f348d-0dc1-4a3e-9e52-8cb959478f43</UnitId>
  <UnitName>sample string 3</UnitName>
</Issue>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

JsonResultOfString
NameDescriptionTypeAdditional information
Content

string

None.

SerializerSettings

JsonSerializerSettings

None.

Encoding

Encoding

None.

Request

HttpRequestMessage

None.

Response Formats

application/json, text/json, text/html

Sample:

Sample not available.