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": "d07fe363-dc40-4019-abd2-de2f65379ac7", "Detail": "sample string 6", "IsActive": true, "CreatedBy": "4f9b92fc-0fa0-4062-96ac-6854dcbd1624", "CreatedDate": "2025-10-17T16:35:51.6124805-07:00", "ModifiedBy": "ed502bc1-882c-4ad4-b595-6ddbeb7de3aa", "ModifiedDate": "2025-10-17T16:35:51.6124805-07:00", "DeletedBy": "54ef0b47-419e-4c11-af1d-5320caa45f67", "DeletedDate": "2025-10-17T16:35:51.6124805-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">4f9b92fc-0fa0-4062-96ac-6854dcbd1624</CreatedBy> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-10-17T16:35:51.6124805-07:00</CreatedDate> <DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">54ef0b47-419e-4c11-af1d-5320caa45f67</DeletedBy> <DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-10-17T16:35:51.6124805-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">d07fe363-dc40-4019-abd2-de2f65379ac7</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">ed502bc1-882c-4ad4-b595-6ddbeb7de3aa</ModifiedBy> <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-10-17T16:35:51.6124805-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. |