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": "fcff7b89-cbd6-42fc-8bc3-7cf228c8350a",
"Detail": "sample string 11",
"IsActive": true,
"CreatedBy": "942bd167-a586-4ca3-911c-0738d95d9a43",
"CreatedDate": "2026-08-05T17:45:45.42173-07:00",
"ModifiedBy": "d760f10f-0fe0-43c7-97fd-cd27e638c76d",
"ModifiedDate": "2026-08-05T17:45:45.42173-07:00",
"DeletedBy": "139fce7e-8a49-4fc3-b7ed-5cc83f73e147",
"DeletedDate": "2026-08-05T17:45:45.42173-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">942bd167-a586-4ca3-911c-0738d95d9a43</CreatedBy> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-08-05T17:45:45.42173-07:00</CreatedDate> <DeletedBy xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">139fce7e-8a49-4fc3-b7ed-5cc83f73e147</DeletedBy> <DeletedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-08-05T17:45:45.42173-07: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">fcff7b89-cbd6-42fc-8bc3-7cf228c8350a</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">d760f10f-0fe0-43c7-97fd-cd27e638c76d</ModifiedBy> <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/LifeHub.Ubico.Common.Models.Base">2026-08-05T17:45:45.42173-07: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. |