SgrAdicionarContainer
Method for Adding container
PARAMETERS
| Field | Type | Req. | Description |
|---|---|---|---|
| keyaccess | string | Yes | Key returned by the sgrLogin method. |
| cdpas | integer | Yes | PAS code, returned by the sgrListaPASUsuario method |
| cdcliente | integer | Yes | Customer code, returned by the sgrListaEmpresasPASUsuario method. |
| cContainer | object | Yes | Object containing the data of the container to be registered. The fields that must be entered can be found in the Container class. |
| vlWidthExt | Real | Yes | External width in meters |
| vlHeightExt | Real | Yes | External height in meters |
| vlLengthInt | Real | Yes | Internal length in meters |
| vlWidthInt | Real | Yes | Internal width in meters |
| vlHeightInt | Real | Yes | Internal height in meters |
| vlBaseLength | Real | Yes | Base length in meters |
| vlBaseWidth | Real | Yes | Base width in meters |
| vlBaseHeight | Real | Yes | Base height in meters |
| vlDoorWidth | Real | Yes | Door width in meters |
| vlDoorHeight | Real | Yes | Door height in meters |
| vlTare | Real | Yes | Empty container weight |
| vlCapWeight | Real | Yes | Load capacity in Kg |
| vlCapVol | Real | Yes | Load capacity in m³ |
If the container is added without errors, this method will return the code of the registered container.