POST api/Store
Request Information
URI Parameters
None.
Body Parameters
Store| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| ContactPerson | string |
None. |
|
| PhoneNumber | string |
None. |
|
| AlternativePhoneNumber | string |
None. |
|
| Status | string |
None. |
|
| AddressId | integer |
None. |
|
| StoreTypeId | integer |
None. |
|
| StoreType | string |
None. |
|
| PricingTierId | integer |
None. |
|
| ParentStoreId | integer |
None. |
|
| PricingTier | string |
None. |
|
| IsActive | boolean |
None. |
|
| AuditId | integer |
None. |
|
| CreatedBy | integer |
None. |
|
| LastModifiedBy | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Name": "sample string 2",
"ContactPerson": "sample string 3",
"PhoneNumber": "sample string 4",
"AlternativePhoneNumber": "sample string 5",
"Status": "sample string 6",
"AddressId": 7,
"StoreTypeId": 8,
"StoreType": "sample string 9",
"PricingTierId": 10,
"ParentStoreId": 1,
"PricingTier": "sample string 11",
"IsActive": true,
"AuditId": 13,
"CreatedBy": 14,
"LastModifiedBy": 1
}
application/xml, text/xml
Sample:
<Store xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IKimWebService.Domain"> <CreatedBy>14</CreatedBy> <LastModifiedBy>1</LastModifiedBy> <AddressId>7</AddressId> <AlternativePhoneNumber>sample string 5</AlternativePhoneNumber> <AuditId>13</AuditId> <ContactPerson>sample string 3</ContactPerson> <Id>1</Id> <IsActive>true</IsActive> <Name>sample string 2</Name> <ParentStoreId>1</ParentStoreId> <PhoneNumber>sample string 4</PhoneNumber> <PricingTier>sample string 11</PricingTier> <PricingTierId>10</PricingTierId> <Status>sample string 6</Status> <StoreType>sample string 9</StoreType> <StoreTypeId>8</StoreTypeId> </Store>
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. |