Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 2 Next »

PRE

Método

POST

URL

https://sif-pre.uno-internacional.com/mcs/sif/empresas/{empresaRefId}/sessions/{sessionRefId}/unoSchool/{unoSchoolRefId}/contracts

Query Params

empresaRefId: Id de la empresa en BDC

sessionRefId: Id del ciclo escolar en BDC

unoSchoolRefId: Id del colegio en BDC

Payload

{
    "articles": {
        "failOnErrors": true,
        "operations": [
            {
                "action": "create",
                "data": {
                    "articleDescription": "articulo/12:30/2021-08-23",
                    "articleCode": "codigo/12:30/2021-08-23",
                    "articleOrder": 300,
                    "abbreviation": "articulo/2021-08-23",
                    "alternateName": "articulo/08-23",
                    "parameter": "IPAD",
                    "sapId": "3831524682159",
                    "ean": "9788466846575",
                    "isbn": "9788466829113",
                    "alternateEan": "",
                    "weight": 10,
                    "width": 20,
                    "height": 30,
                    "length": 40,
                    "exclusive": true,
                    "cdBook": "10",
                    "pages": 10,
                    "collection": "coleccion",
                    "yearPublication": "2021",
                    "editorial": "editorial",
                    "active": true,
                    "articleAuthor": {
                        "firstName": "Nombre",
                        "middleName": "Paterno",
                        "lastName": "Materno",
                        "timeZone": {
                            "refId": "00000000-0000-1000-0000-000000000016"
                        },
                        "language": {
                            "refId": "00000000-0000-1000-0000-000000000016"
                        }
                    },
                    "subject": {
                        "subjectCode": "Esp"
                    },
                    "category": {
                        "parameter": "AL"
                    },
                    "empresa": {
                        "refId": "00000000-0000-1000-0000-000000000001"
                    },
                    "articleType": {
                        "parameter": "IPAD"
                    },
                    "stamp": {
                        "stampCode": "SANCAN"
                    },
                    "groupArticle": {
                        "parameter": "PRI"
                    },
                    "materialType": {
                        "parameter": "DI"
                    },
                    "articleGradePeriods": [
                        {
                            "articleGradePeriod": {
                                "refId": "",
                                "active": true,
                                "grade": {
                                    "refId": "",
                                    "gradeCode": "",
                                    "sapId": ""
                                },
                                "schoolLevel": {
                                    "levelCode": "",
                                    "sapId": ""
                                },
                                "session": {
                                    "refId": "",
                                    "sessionCode": ""
                                },
                                "periodSession": {
                                    "refId": "",
                                    "periodSessionCode": "",
                                    "parameter": ""
                                },
                                "unoSchool": {
                                    "refId": "",
                                    "schoolIdSystem": "",
                                    "sapId": "",
                                    "crmId": ""
                                }
                            }
                        }
                    ],
                    "articleLevelPrices": [
                        {
                            "articleLevelPrice": {
                                "refId": "",
                                "price": 0.0000,
                                "levelPrice": {
                                    "refId": "",
                                    "levelPriceCode": ""
                                },
                                "taxPercentage": 0.0000,
                                "currency": {
                                    "currencyCode": ""
                                }
                            }
                        }
                    ]
                }
            }
        ]
    }
}
  • No labels