POST api/Provider/Create
Request Information
URI Parameters
None.
Body Parameters
ProviderModel| Name | 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": "0332961f-0468-49d7-ab2a-25d7d243fd00",
"Detail": "sample string 6",
"IsActive": true,
"CreatedBy": "5b7b4b1f-cc07-4eeb-ae30-70cc72890cf5",
"CreatedDate": "2025-12-11T00:35:20.0244548-08:00",
"ModifiedBy": "e94dff38-74e7-47d0-ab69-3247fbac0d1b",
"ModifiedDate": "2025-12-11T00:35:20.0244548-08:00",
"DeletedBy": "528b96e5-401d-4c19-9c02-e9a678d5fe3a",
"DeletedDate": "2025-12-11T00:35:20.0244548-08: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">5b7b4b1f-cc07-4eeb-ae30-70cc72890cf5</CreatedBy> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-12-11T00:35:20.0244548-08:00</CreatedDate> <DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">528b96e5-401d-4c19-9c02-e9a678d5fe3a</DeletedBy> <DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-12-11T00:35:20.0244548-08: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">0332961f-0468-49d7-ab2a-25d7d243fd00</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">e94dff38-74e7-47d0-ab69-3247fbac0d1b</ModifiedBy> <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2025-12-11T00:35:20.0244548-08: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
HttpResponseMessage| Name | 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. |