openapi: 3.0.1
info:
contact: {}
license:
name: Apache 2.0 License
url: http://www.apache.org/licenses/LICENSE-2.0.html
title: 'La Poste SlsInternalService : Services destinés aux applications internes API'
servers:
- url: http://api-etiquetage.colis.intra.laposte.fr/sls-ws/SlsServiceRest
tags:
- name: 'SlsInternalService : Services destinés aux applications internes'
paths:
/SlsInternalService/checkInfoPlanPickup:
post:
tags:
- 'SlsInternalService : Services destinés aux applications internes'
operationId: checkInfoPlanPickup_1
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CheckInfoPlanPickupInternalRequest'
responses:
default:
description: default response
content:
application/json;charset=UTF-8:
schema:
$ref: '#/components/schemas/CheckInfoPlanPickupResponse'
/SlsInternalService/getListMailBoxPickingDates:
post:
tags:
- 'SlsInternalService : Services destinés aux applications internes'
operationId: getListMailBoxPickingDates
parameters:
- name: apiKey
in: header
description: apiKey L'apiKey
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/GetListMailBoxPickingDatesRetourRequest'
responses:
default:
description: default response
content:
application/json;charset=UTF-8:
schema:
$ref: '#/components/schemas/ListMailBoxPickingDatesRetourOnlineResponse'
/SlsInternalService/planPickup:
post:
tags:
- 'SlsInternalService : Services destinés aux applications internes'
operationId: planPickup_1
parameters:
- name: apiKey
in: header
description: apiKey L'apiKey
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/PlanPickupRequest'
responses:
default:
description: default response
content:
application/json;charset=UTF-8:
schema:
$ref: '#/components/schemas/PlanPickupResponse'
components:
schemas:
ListMailBoxPickingDatesRetourOnlineResponse:
type: object
properties:
messages:
type: array
items:
$ref: '#/components/schemas/Message'
mailBoxPickingDateMaxHour:
type: string
mailBoxPickingDates:
type: array
items:
type: string
format: date-time
validityTime:
type: string
PlanPickupSender:
required:
- zipCode
type: object
properties:
companyName:
type: string
description: AN35
Company nameRaison sociale.
lastName:
type: string
description: AN35
Last nameNom.
firstName:
type: string
description: AN29
First namePrénom.
line0:
type: string
description: AN35
Floor, corridor, stairwell, flat numberEtage, couloir, escalier, appartement.
line1:
type: string
description: AN35
Entrance, building, residence. Entrée, bâtiment, immeuble, résidence.
line2:
type: string
description: 'AN35
Number and street name.
Example: "5 rue du Bellay"Numéro et libellé de voie.
Example: \"5 rue du Bellay\"'
line3:
type: string
description: AN35
Named place or other mentionLieu-dit ou autre mention.
city:
type: string
description: AN35
MunicipalityCommune.
zipCode:
type: string
description: AN5
PostcodeCode postal.
countryCode:
type: string
description: A2
Only the "FR" value is authorised.
Country code.Code pays.
Seule la valeur « FR » est autorisée.
email:
type: string
description: AN80
Email address.
Used for sending tracking notifications to addressees.Adresse courriel.
Utilisé pour les notifications de suivi aux destinataires.
phoneNumber:
type: string
description: AN15
TelephoneTéléphone.
description: SUB
Block containing sender's addressBloc contenant les coordonnées du déposant en retour.
PlanPickupResponse:
type: object
properties:
messages:
type: array
items:
$ref: '#/components/schemas/Message'
CheckInfoPlanPickupResponse:
type: object
properties:
messages:
type: array
items:
$ref: '#/components/schemas/Message'
isValid:
type: boolean
PlanPickupRequest:
required:
- mailBoxPickingDate
- parcelNumber
- sender
type: object
properties:
contractNumber:
type: string
description: AN
Deprecated. Use apikey instead as explained in "Acess to the Web Service SLS/API Authentication".Obsolète. Utiliser l'apikey à la place comme expliqué dans "Accès au Web Service SLS/Authentification API".
password:
type: string
description: AN
Deprecated. Use apikey instead as explained in "Acess to the Web Service SLS/API Authentication".Obsolète. Utiliser l'apikey à la place comme expliqué dans "Accès au Web Service SLS/Authentification API".
parcelNumber:
type: string
description: AN13
Parcel numberNuméro de colis.
mailBoxPickingDate:
type: string
description: 'D
Requested pick-up date.
Example: "2022-06-25"Date d’emport demandée.
Example: \"2022-06-25\"'
format: date-time
sender:
$ref: '#/components/schemas/PlanPickupSender'
CheckInfoPlanPickupInternalRequest:
required:
- parcelNumber
- sender
type: object
properties:
parcelNumber:
type: string
mailBoxPickingDate:
type: string
format: date-time
sender:
$ref: '#/components/schemas/PlanPickupSender'
GetListMailBoxPickingDatesRetourRequest:
required:
- sender
type: object
properties:
contractNumber:
type: string
description: AN
Deprecated. Use apikey instead as explained in "Acess to the Web Service SLS/API Authentication".Obsolète. Utiliser l'apikey à la place comme expliqué dans "Accès au Web Service SLS/Authentification API".
password:
type: string
description: AN
Deprecated. Use apikey instead as explained in "Acess to the Web Service SLS/API Authentication".Obsolète. Utiliser l'apikey à la place comme expliqué dans "Accès au Web Service SLS/Authentification API".
sender:
$ref: '#/components/schemas/GetListMailBoxPickingDatesSender'
GetListMailBoxPickingDatesSender:
required:
- zipCode
type: object
properties:
line0:
type: string
description: AN35
Floor, corridor, stairwell, flat numberEtage, couloir, escalier, appartement.
line1:
type: string
description: AN35
Entrance, building, residence. Entrée, bâtiment, immeuble, résidence.
line2:
type: string
description: 'AN35
Number and street name.
Example: "5 rue du Bellay"Numéro et libellé de voie.
Example: \"5 rue du Bellay\"'
line3:
type: string
description: AN35
Named place or other mentionLieu-dit ou autre mention.
city:
type: string
description: AN35
MunicipalityCommune.
zipCode:
type: string
description: AN5
PostcodeCode postal.
countryCode:
type: string
description: A2
Only the "FR" value is authorised.
Country code.Code pays.
Seule la valeur « FR » est autorisée.
description: SUB
Block containing sender's addressBloc contenant les coordonnées du déposant en retour.
Message:
type: object
properties:
id:
type: string
type:
type: string
messageContent:
type: string