POST api/saveCustomer
Request Information
URI Parameters
None.
Body Parameters
CustomerModelName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
BusinessName | string |
Required |
|
Address | string |
None. |
|
MarketId | integer |
Required |
|
StateProvince | string |
None. |
|
City | string |
None. |
|
PostalCode | string |
None. |
|
Complex | string |
None. |
|
CreatedBy | integer |
Required |
|
UserId | integer |
Required |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "BusinessName": "sample string 2", "Address": "sample string 3", "MarketId": 4, "StateProvince": "sample string 5", "City": "sample string 6", "PostalCode": "sample string 7", "Complex": "sample string 8", "CreatedBy": 9, "UserId": 11 }
text/html
Sample:
{"Id":1,"BusinessName":"sample string 2","Address":"sample string 3","MarketId":4,"StateProvince":"sample string 5","City":"sample string 6","PostalCode":"sample string 7","Complex":"sample string 8","CreatedBy":9,"UserId":11}
application/xml, text/xml
Sample:
<CustomerModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Clarifide.Common.Model"> <Address>sample string 3</Address> <BusinessName>sample string 2</BusinessName> <City>sample string 6</City> <Complex>sample string 8</Complex> <CreatedBy>9</CreatedBy> <Id>1</Id> <MarketId>4</MarketId> <MarketSource>10</MarketSource> <PostalCode>sample string 7</PostalCode> <StateProvince>sample string 5</StateProvince> <UserId>11</UserId> </CustomerModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | 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. |