PUT api/LineCleaner/AddNewLocation

Request Information

URI Parameters

None.

Body Parameters

APIAddNewLocation
NameDescriptionTypeAdditional information
ContactId

integer

None.

LocationId

integer

None.

Name

string

None.

Email

string

None.

Phone

string

None.

Address

string

None.

City

string

None.

State

string

None.

CreatedDate

date

None.

UpdatedDate

date

None.

PlaceId

string

None.

Latitude

decimal number

None.

Longtitude

decimal number

None.

Website

string

None.

Zip

string

None.

Country

string

None.

CustomerId

integer

None.

ContactName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ContactId": 1,
  "LocationId": 2,
  "Name": "sample string 3",
  "Email": "sample string 4",
  "Phone": "sample string 5",
  "Address": "sample string 6",
  "City": "sample string 7",
  "State": "sample string 8",
  "CreatedDate": "2025-08-28T22:13:04.589498+00:00",
  "UpdatedDate": "2025-08-28T22:13:04.589498+00:00",
  "PlaceId": "sample string 9",
  "Latitude": 10.0,
  "Longtitude": 11.0,
  "Website": "sample string 12",
  "Zip": "sample string 13",
  "Country": "sample string 14",
  "CustomerId": 15,
  "ContactName": "sample string 16"
}

application/xml, text/xml

Sample:
<APIAddNewLocation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model">
  <Address>sample string 6</Address>
  <City>sample string 7</City>
  <ContactId>1</ContactId>
  <ContactName>sample string 16</ContactName>
  <Country>sample string 14</Country>
  <CreatedDate>2025-08-28T22:13:04.589498+00:00</CreatedDate>
  <CustomerId>15</CustomerId>
  <Email>sample string 4</Email>
  <Latitude>10</Latitude>
  <LocationId>2</LocationId>
  <Longtitude>11</Longtitude>
  <Name>sample string 3</Name>
  <Phone>sample string 5</Phone>
  <PlaceId>sample string 9</PlaceId>
  <State>sample string 8</State>
  <UpdatedDate>2025-08-28T22:13:04.589498+00:00</UpdatedDate>
  <Website>sample string 12</Website>
  <Zip>sample string 13</Zip>
</APIAddNewLocation>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

APICommonWrapperOfAPIAddNewLocationResponse
NameDescriptionTypeAdditional information
Status

HttpStatusCode

None.

Message

string

None.

Data

APIAddNewLocationResponse

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 100,
  "Message": "sample string 1",
  "Data": {
    "LocationId": 1,
    "Status": true
  }
}

application/xml, text/xml

Sample:
<APICommonWrapperOfAPIAddNewLocationResponseZdSfSp5S xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model">
  <Data>
    <LocationId>1</LocationId>
    <Status>true</Status>
  </Data>
  <Message>sample string 1</Message>
  <Status>Continue</Status>
</APICommonWrapperOfAPIAddNewLocationResponseZdSfSp5S>