A finalidade deste método é, possibilitar a consulta de locais para inventário.
GET api/v1/sm/inventories/places?numberCompany=
{numberCompany}&placeCode=
{placeCode}&changedDate=
{changedDate}&_pageNo=
{_pageNo}&_pageSize=
{_pageSize}
Nome (Name) | Descrição (Description) | Tipo (Type) | Informações Adicionais (Adittional Information) |
numberCompany | Number Company | integer | Não há. |
placeCode | Place Code (Optional: If it is not filled, the code of the place will not be considered. Otherwise, the records with the code of the place will be considered equal to a certain code) | integer | Não há. |
changedDate | Changed Date dd/MM/yyyy HH:mm or ddMMyyyyHHmm (Optional: If it is not filled, the date will not be considered. Otherwise, will be considered the records with date equal to a certain date) | string | Não há. |
_pageNo | integer | Não há. | |
_pageSize | integer | Não há. |
Não há.
List of PlacesResponseDTO
Collection of PlacesResponseDTO
Nome (Name) | Descrição (Description) | Tipo (Type) | Informações Adicionais (Adittional Information) |
numberCompany | Number Company | integer | Não há |
placeCode | Place Code | integer | Não há |
place | Place | string | Não há |
status | Status | string | Não há |
changedDate | Changed Date | date | Não há |
application/json, text/json
Exemplo (Sample):
[
{
"numberCompany": 1,
"placeCode": 2,
"place": "sample string 3",
"status": "sample string 4",
"changedDate": "2019-10-23T16:29:34.1790667-03:00"
},
{
"numberCompany": 1,
"placeCode": 2,
"place": "sample string 3",
"status": "sample string 4",
"changedDate": "2019-10-23T16:29:34.1790667-03:00"
}
]
application/xml, text/xml
Exemplo (Sample):
<ArrayOfPlacesResponseDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Consinco.SM.Api.Entities.Entities.v1">
<PlacesResponseDTO>
<changedDate>2019-10-23T16:29:34.1790667-03:00</changedDate>
<numberCompany>1</numberCompany>
<place>sample string 3</place>
<placeCode>2</placeCode>
<status>sample string 4</status>
</PlacesResponseDTO>
<PlacesResponseDTO>
<changedDate>2019-10-23T16:29:34.1790667-03:00</changedDate>
<numberCompany>1</numberCompany>
<place>sample string 3</place>
<placeCode>2</placeCode>
<status>sample string 4</status>
</PlacesResponseDTO>
</ArrayOfPlacesResponseDTO>