PUT api/providers/{pid}/locations/{locationId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
locationId

integer

Required

pid

string

None.

Body Parameters

NewLocationCommand
NameDescriptionTypeAdditional information
Name

string

Required

Max length: 40

Min length: 3

Address

string

Max length: 300

Number

string

Max length: 30

District

string

Max length: 100

ZipCode

string

None.

State

string

None.

City

string

None.

Phone

string

Required

TimezoneId

string

None.

HasPaymentSupport

boolean

None.

HasFeedSupport

boolean

None.

PrinterEmail

string

None.

MaxWaitTimeOverNotifyEnabled

boolean

None.

EmailNotify

string

None.

Latitude

string

Required

Longitude

string

Required

Capacity

integer

Range: inclusive between 1 and 2147483647

QuantityMaxCall

integer

Required

Range: inclusive between 2 and 5

MinutesToSemaphoreRed

integer

Required

Range: inclusive between 15 and 20

MinutesToSemaphoreYellow

integer

Required

Range: inclusive between 3 and 10

PrintingNbaEnabled

boolean

None.

ShowNbaTotemEnabled

boolean

None.

LobbyContent

string

None.

EmbedChat

string

Max length: 15000

PositionByConfirmed

boolean

None.

Expedients

Collection of LocationProviderManagerWorkingDayData

None.

Request Formats

application/json, text/json

Sample:
{
  "name": "sample string 1",
  "address": "sample string 2",
  "number": "sample string 3",
  "district": "sample string 4",
  "zipCode": "sample string 5",
  "state": "sample string 6",
  "city": "sample string 7",
  "phone": "sample string 8",
  "timezoneId": "sample string 9",
  "hasPaymentSupport": true,
  "hasFeedSupport": true,
  "printerEmail": "sample string 12",
  "maxWaitTimeOverNotifyEnabled": true,
  "emailNotify": "sample string 14",
  "latitude": "sample string 15",
  "longitude": "sample string 16",
  "capacity": 1,
  "quantityMaxCall": 17,
  "minutesToSemaphoreRed": 18,
  "minutesToSemaphoreYellow": 19,
  "printingNbaEnabled": true,
  "showNbaTotemEnabled": true,
  "lobbyContent": "sample string 22",
  "embedChat": "sample string 23",
  "positionByConfirmed": true,
  "expedients": [
    {
      "name": "sample string 1",
      "isOpen": true,
      "opens": "2025-10-26T20:21:47.0472646Z",
      "closes": "2025-10-26T20:21:47.0472646Z"
    },
    {
      "name": "sample string 1",
      "isOpen": true,
      "opens": "2025-10-26T20:21:47.0472646Z",
      "closes": "2025-10-26T20:21:47.0472646Z"
    }
  ]
}

application/xml, text/xml

Sample:
<NewLocationCommand xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Filazero.Core.BusinessUnit.Application.Locations.Commands">
  <Address>sample string 2</Address>
  <Capacity>1</Capacity>
  <City>sample string 7</City>
  <District>sample string 4</District>
  <EmailNotify>sample string 14</EmailNotify>
  <EmbedChat>sample string 23</EmbedChat>
  <Expedients xmlns:d2p1="http://schemas.datacontract.org/2004/07/Filazero.Core.BusinessUnit.Application.Locations.DTOs">
    <d2p1:LocationProviderManagerWorkingDayData>
      <d2p1:Closes>2025-10-26T20:21:47.0472646+00:00</d2p1:Closes>
      <d2p1:IsOpen>true</d2p1:IsOpen>
      <d2p1:Name>sample string 1</d2p1:Name>
      <d2p1:Opens>2025-10-26T20:21:47.0472646+00:00</d2p1:Opens>
    </d2p1:LocationProviderManagerWorkingDayData>
    <d2p1:LocationProviderManagerWorkingDayData>
      <d2p1:Closes>2025-10-26T20:21:47.0472646+00:00</d2p1:Closes>
      <d2p1:IsOpen>true</d2p1:IsOpen>
      <d2p1:Name>sample string 1</d2p1:Name>
      <d2p1:Opens>2025-10-26T20:21:47.0472646+00:00</d2p1:Opens>
    </d2p1:LocationProviderManagerWorkingDayData>
  </Expedients>
  <HasFeedSupport>true</HasFeedSupport>
  <HasPaymentSupport>true</HasPaymentSupport>
  <Latitude>sample string 15</Latitude>
  <LobbyContent>sample string 22</LobbyContent>
  <Longitude>sample string 16</Longitude>
  <MaxWaitTimeOverNotifyEnabled>true</MaxWaitTimeOverNotifyEnabled>
  <MinutesToSemaphoreRed>18</MinutesToSemaphoreRed>
  <MinutesToSemaphoreYellow>19</MinutesToSemaphoreYellow>
  <Name>sample string 1</Name>
  <Number>sample string 3</Number>
  <Phone>sample string 8</Phone>
  <PositionByConfirmed>true</PositionByConfirmed>
  <PrinterEmail>sample string 12</PrinterEmail>
  <PrintingNbaEnabled>true</PrintingNbaEnabled>
  <QuantityMaxCall>17</QuantityMaxCall>
  <ShowNbaTotemEnabled>true</ShowNbaTotemEnabled>
  <State>sample string 6</State>
  <TimezoneId>sample string 9</TimezoneId>
  <ZipCode>sample string 5</ZipCode>
</NewLocationCommand>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.