POST api/Provider/Create
Request Information
URI Parameters
None.
Body Parameters
ProviderModelName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
Address | string |
None. |
|
ImageURL | string |
None. |
|
CountryId | integer |
None. |
|
Id | globally unique identifier |
None. |
|
Detail | string |
None. |
|
IsActive | boolean |
None. |
|
CreatedBy | globally unique identifier |
None. |
|
CreatedDate | date |
None. |
|
ModifiedBy | globally unique identifier |
None. |
|
ModifiedDate | date |
None. |
|
DeletedBy | globally unique identifier |
None. |
|
DeletedDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "Name": "sample string 1", "Address": "sample string 2", "ImageURL": "sample string 3", "CountryId": 4, "Id": "68373b03-4e9c-4f3c-987a-92c30315a92f", "Detail": "sample string 6", "IsActive": true, "CreatedBy": "6dd01ca8-4ec7-43c0-9d24-f1e316d93c88", "CreatedDate": "2025-06-14T22:13:49.3909779-07:00", "ModifiedBy": "994dcf63-9b9c-49d0-a4c3-78d443a230b3", "ModifiedDate": "2025-06-14T22:13:49.3909779-07:00", "DeletedBy": "28c42d31-a1b7-4aa0-8351-4d9128cc60c8", "DeletedDate": "2025-06-14T22:13:49.3909779-07:00" }
application/xml, text/xml
Sample:
<ProviderModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Inventory"> <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">6dd01ca8-4ec7-43c0-9d24-f1e316d93c88</CreatedBy> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-06-14T22:13:49.3909779-07:00</CreatedDate> <DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">28c42d31-a1b7-4aa0-8351-4d9128cc60c8</DeletedBy> <DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-06-14T22:13:49.3909779-07:00</DeletedDate> <Detail xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">sample string 6</Detail> <Id xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">68373b03-4e9c-4f3c-987a-92c30315a92f</Id> <IsActive xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">true</IsActive> <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">994dcf63-9b9c-49d0-a4c3-78d443a230b3</ModifiedBy> <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-06-14T22:13:49.3909779-07:00</ModifiedDate> <Address>sample string 2</Address> <CountryId>4</CountryId> <ImageURL>sample string 3</ImageURL> <Name>sample string 1</Name> </ProviderModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
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. |