POST api/flooderosiondescription/Save
Save or update a FloodErosion Description
Request Information
URI Parameters
None.
Body Parameters
The flooderosion description to save
Dezrez.Core.DataContracts.External.Api.Descriptions.Command.FloodErosionDescriptionSaveDataContractName | Description | Type | Additional information |
---|---|---|---|
Flooded | boolean |
None. |
|
FloodingSources | Collection of Dezrez.Core.DataContracts.External.Api.System.EnumDataContract |
None. |
|
FloodDefences | boolean |
None. |
|
CoastalErosion | boolean |
None. |
|
Name | string |
None. |
|
Notes | string |
None. |
|
PropertyId | integer |
None. |
|
RoleId | integer |
None. |
|
ForceUpdate | boolean |
None. |
|
Id | integer |
None. |
Request Formats
application/x-www-form-urlencoded
Sample:
Sample not available.
application/json, text/json
Sample:
{ "Flooded": true, "FloodingSources": [ { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" } ], "FloodDefences": true, "CoastalErosion": true, "Name": "sample string 4", "Notes": "sample string 5", "PropertyId": 6, "RoleId": 7, "ForceUpdate": true, "Id": 9 }
Response Information
Resource Description
Dezrez.Core.DataContracts.External.Api.Descriptions.Query.FloodErosionDescriptionDataContractName | Description | Type | Additional information |
---|---|---|---|
Flooded | boolean |
None. |
|
FloodingSources | Collection of Dezrez.Core.DataContracts.External.Api.System.EnumDataContract |
None. |
|
FloodDefences | boolean |
None. |
|
CoastalErosion | boolean |
None. |
|
Name | string |
None. |
|
Order | integer |
None. |
|
Type | Dezrez.Core.DataContracts.External.Api.System.EnumDataContract |
None. |
|
PropertyId | integer |
None. |
|
Notes | string |
None. |
|
Roles | Collection of Dezrez.Core.DataContracts.External.Api.Descriptions.Query.DescriptionRoleDataContract |
None. |
|
CreatedDate | date |
None. |
|
CreatedBy | Dezrez.Core.DataContracts.External.Api.People.Query.Get.CreatedByDataContract |
None. |
|
Id | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "Flooded": true, "FloodingSources": [ { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" } ], "FloodDefences": true, "CoastalErosion": true, "Name": "sample string 4", "Order": 5, "Type": { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, "PropertyId": 6, "Notes": "sample string 7", "Roles": [ { "Name": "sample string 1", "RoleType": { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, "RoleStatus": { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, "Id": 2 }, { "Name": "sample string 1", "RoleType": { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, "RoleStatus": { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, "Id": 2 } ], "CreatedDate": "2024-11-21T09:39:50.5667692Z", "CreatedBy": { "Initials": "sample string 1", "ContactName": "sample string 2", "Gender": { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, "Title": "sample string 3", "FirstName": "sample string 4", "LastName": "sample string 5", "PrimaryTelephone": { "Type": { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, "Value": "sample string 1", "Notes": "sample string 2", "ContactOrder": 3, "AllowContact": true, "MarketingContactStatus": { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, "Name": "sample string 5", "Id": 6 }, "PrimaryEmail": { "Type": { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, "Value": "sample string 1", "Notes": "sample string 2", "ContactOrder": 3, "AllowContact": true, "MarketingContactStatus": { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, "Name": "sample string 5", "Id": 6 }, "JobTitle": "sample string 6", "Id": 7 }, "Id": 9 }