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": 1,
"StoreTypeId": 7,
"StoreType": "sample string 8",
"PricingTierId": 9,
"ParentStoreId": 1,
"PricingTier": "sample string 10",
"IsActive": true,
"AuditId": 12,
"CreatedBy": 13,
"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>13</CreatedBy> <LastModifiedBy>1</LastModifiedBy> <AddressId>1</AddressId> <AlternativePhoneNumber>sample string 5</AlternativePhoneNumber> <AuditId>12</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 10</PricingTier> <PricingTierId>9</PricingTierId> <Status>sample string 6</Status> <StoreType>sample string 8</StoreType> <StoreTypeId>7</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. |