POST Logistics/AddCorreosExpressProcessors

Adds a child CorreosExpressProcessors to a parent It's up to the front to set the CorreosExpressProcessors sortOrder.

Request Information

URI Parameters

None.

Body Parameters

use null ParentCorreosExpressProcessorsID, for top parent CorreosExpressProcessors

AddCorreosExpressProcessorBinding
NameDescriptionTypeAdditional information
UserName

string

Required

String length: inclusive between 0 and 50

Password

string

Required

String length: inclusive between 0 and 50

Solicitante

Identificador de cliente (proporcionado por Correos Express)

string

Required

String length: inclusive between 0 and 100

CodRte

Código del Remitente del envío

string

Required

String length: inclusive between 0 and 9

Producto

Producto contratado para el envío

string

Required

String length: inclusive between 0 and 2

Portes

Tipo de portes: ‘P’ (Pagado), ‘D’ (Debido)

string

Required

String length: inclusive between 0 and 1

TipoEtiqueta

Identificador del tipo de Etiqueta, de tamaño 10x15cm, que se quiere generar ‘1’ (Etiqueta Base64 - PDF) ‘2’ (Etiqueta ZPL)

string

Required

String length: inclusive between 0 and 1

Lang

string

None.

StoreID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "UserName": "sample string 1",
  "Password": "sample string 2",
  "Solicitante": "sample string 3",
  "CodRte": "sample string 4",
  "Producto": "sample string 5",
  "Portes": "sample string 6",
  "TipoEtiqueta": "sample string 7",
  "Lang": "sample string 8",
  "StoreID": 9
}

application/xml, text/xml

Sample:
<AddCorreosExpressProcessorBinding xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Binding.Logistics.ShippingProcessors">
  <Lang xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">sample string 8</Lang>
  <StoreID xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">9</StoreID>
  <CodRte>sample string 4</CodRte>
  <Password>sample string 2</Password>
  <Portes>sample string 6</Portes>
  <Producto>sample string 5</Producto>
  <Solicitante>sample string 3</Solicitante>
  <TipoEtiqueta>sample string 7</TipoEtiqueta>
  <UserName>sample string 1</UserName>
</AddCorreosExpressProcessorBinding>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>