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. |
|
| Identification | string |
None. |
|
| EmailAddress | string |
None. |
|
| ManagerName | string |
None. |
|
| PhoneNumber | string |
None. |
|
| Base64StringImage | string |
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,
"Identification": "sample string 5",
"EmailAddress": "sample string 6",
"ManagerName": "sample string 7",
"PhoneNumber": "sample string 8",
"Base64StringImage": "sample string 9",
"Id": "12607c37-0c43-4ef0-8683-ac1e6045a0d3",
"Detail": "sample string 11",
"IsActive": true,
"CreatedBy": "a4194d8b-f5f5-487c-83c1-3a7d1839b198",
"CreatedDate": "2026-11-04T03:35:12.0192028-08:00",
"ModifiedBy": "6ae254c6-9034-4959-ba4b-88c240a472fb",
"ModifiedDate": "2026-11-04T03:35:12.0192028-08:00",
"DeletedBy": "f3aa738e-9416-45d4-8111-d08069f68148",
"DeletedDate": "2026-11-04T03:35:12.0192028-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">a4194d8b-f5f5-487c-83c1-3a7d1839b198</CreatedBy> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-11-04T03:35:12.0192028-08:00</CreatedDate> <DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">f3aa738e-9416-45d4-8111-d08069f68148</DeletedBy> <DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-11-04T03:35:12.0192028-08:00</DeletedDate> <Detail xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">sample string 11</Detail> <Id xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">12607c37-0c43-4ef0-8683-ac1e6045a0d3</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">6ae254c6-9034-4959-ba4b-88c240a472fb</ModifiedBy> <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-11-04T03:35:12.0192028-08:00</ModifiedDate> <Address>sample string 2</Address> <Base64StringImage>sample string 9</Base64StringImage> <CountryId>4</CountryId> <EmailAddress>sample string 6</EmailAddress> <Identification>sample string 5</Identification> <ImageURL>sample string 3</ImageURL> <ManagerName>sample string 7</ManagerName> <Name>sample string 1</Name> <PhoneNumber>sample string 8</PhoneNumber> </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. |