API Interface

A discription of PISA API

PISA API 

PISA API has endpoints that can be used to integrate with PISA

 

Authentication

Authentication which is used in Cloud is "Oauth2". 

 

Tenant Id: Den identiet som representerar kundens miljö iCloud 

ClientId: Picked from Azure for each customer. 

Secret: Picked from Azure for each customer. 

Scope: https://api.businesscentral.dynamics.com/.default 

AccessToken URL: https://login.microsoftonline.com/(<tenantid>)/oauth2/v2.0/token 

 

URL 

Base URL to connect to environment is as follows: 

https://api.businesscentral.dynamics.com/v2.0/<tenantId>/<environmentName> 
 

Each time data is retreived, a company must be used. The company id is added to the URL:  ”companies(<id för bolag>)” 

 

Ex: 

https://api.businesscentral.dynamics.com/v2.0/<tenantrid>/<environmentName>/api/naviProAB/pisa/v1.0/companies(<bolagsid>)/pisaItems 

 

Outging data

 

Items

Itemsinformation

{{BaseURL}}/api/naviProAB/pisa/v1.0/companies(<bolagsid>)/pisaItems

 

Prices

{{BaseURL}}/api/naviProAB/pisa/v1.0/companies(<bolagsid>)/pisaItemCostPrices


ItemsQuality

{{BaseURL}}/api/naviProAB/pisa/v1.0/companies(<bolagsid>)/pisaGungItemsQuality


ItemWashTexts

{{BaseURL}}/api/naviProAB/pisa/v1.0/companies(<bolagsid>)/pisaGungItemsWashTexts

 

Endpoints 

Endpoint 

Description

pisaItems

Items

pisaItemCostPrices

Prices

pisaItemColors

ItemColors

 pisaItemProductSizes

ProductSizes
pisaGungItemsQualityItem Qualitys
pisaGungItemsWashTextsItem Wash Texts

 

Example Items

{
            "@odata.etag": "W/"JzE5OzYzNzA4MzgxMjI5MTM5MTEzMDQxOzAwOyc="",
            "no": "100006",
            "season": "AW24",
            "blocked": false,
            "brandCode": "000",
            "careLabelTemplateCode": "",
            "collectionCode": "",
            "countryOfOrigin": "CN",
            "currencyCode": "USD",
            "currentBOMNo": "",
            "customer": "",
            "cutWidth": 0,
            "description": "Oakes",
            "designerCode": "",
            "erpEnabled": false,
            "extendedDescription": "",
            "factoryCode": "",
            "fitCode": "",
            "frontM": "00000000-0000-0000-0000-000000000000",
            "gauge": 0,
            "gender": "MEN",
            "generalDescription": "",
            "grossWeightG": 0,
            "height": 0,
            "initialTemplate": "",
            "itemCategoryCode": "T-SHIRT",
            "itemType": "Product",
            "length": 0,
            "needles": 0,
            "period": "",
            "periodFrom": "0001-01-01",
            "periodTo": "0001-01-01",
            "productGroupCode": "",
            "purchasePrice": 4.1,
            "qualityCategoryCode": "",
            "released": false,
            "revisionOrderNo": "",
            "sizeGroupCode": "S-3XL",
            "specialNotes": "",
            "status": "NO RE-ORDER",
            "systemCreatedAt": "2025-02-18T09:24:53.16Z",
            "systemCreatedBy": "ef7730e3-44de-494b-b496-962999e9aec3",
            "systemId": "599cfb34-daed-ef11-9345-6045bdc90d84",
            "systemModifiedAt": "2025-02-18T09:40:35.29Z",
            "systemModifiedBy": "ef7730e3-44de-494b-b496-962999e9aec3",
            "taricName": "T-shirt tricot cotton",
            "taricNo": "6109100010",
            "themeCode": "",
            "unit": "PCS",
            "useTemplate": false,
            "vendorItemNo": "",
            "vendorNo": "507",
            "volume": 0,
            "weightG": 0.22,
            "width": 0,
            "back@odata.mediaEditLink": "https://api.businesscentral.dynamics.com/v2.0/swedteam.se/test/api/naviProAB/pisa/v1.0/companies(1b0c9034-87d1-ef11-b8ec-000d3a652635)/pisaItems(no%3D100006,season%3DAW24)/back",
            "back@odata.mediaReadLink": "https://api.businesscentral.dynamics.com/v2.0/swedteam.se/test/api/naviProAB/pisa/v1.0/companies(1b0c9034-87d1-ef11-b8ec-000d3a652635)/pisaItems(no%3D100006,season%3DAW24)/back",
            "front@odata.mediaEditLink": "https://api.businesscentral.dynamics.com/v2.0/swedteam.se/test/api/naviProAB/pisa/v1.0/companies(1b0c9034-87d1-ef11-b8ec-000d3a652635)/pisaItems(no%3D100006,season%3DAW24)/front",
            "front@odata.mediaReadLink": "https://api.businesscentral.dynamics.com/v2.0/swedteam.se/test/api/naviProAB/pisa/v1.0/companies(1b0c9034-87d1-ef11-b8ec-000d3a652635)/pisaItems(no%3D100006,season%3DAW24)/front",
            "howToMeasure@odata.mediaEditLink": "https://api.businesscentral.dynamics.com/v2.0/swedteam.se/test/api/naviProAB/pisa/v1.0/companies(1b0c9034-87d1-ef11-b8ec-000d3a652635)/pisaItems(no%3D100006,season%3DAW24)/howToMeasure",
            "howToMeasure@odata.mediaReadLink": "https://api.businesscentral.dynamics.com/v2.0/swedteam.se/test/api/naviProAB/pisa/v1.0/companies(1b0c9034-87d1-ef11-b8ec-000d3a652635)/pisaItems(no%3D100006,season%3DAW24)/howToMeasure",
            "inspiration@odata.mediaEditLink": "https://api.businesscentral.dynamics.com/v2.0/swedteam.se/test/api/naviProAB/pisa/v1.0/companies(1b0c9034-87d1-ef11-b8ec-000d3a652635)/pisaItems(no%3D100006,season%3DAW24)/inspiration",
            "inspiration@odata.mediaReadLink": "https://api.businesscentral.dynamics.com/v2.0/swedteam.se/test/api/naviProAB/pisa/v1.0/companies(1b0c9034-87d1-ef11-b8ec-000d3a652635)/pisaItems(no%3D100006,season%3DAW24)/inspiration",
            "photo@odata.mediaEditLink": "https://api.businesscentral.dynamics.com/v2.0/swedteam.se/test/api/naviProAB/pisa/v1.0/companies(1b0c9034-87d1-ef11-b8ec-000d3a652635)/pisaItems(no%3D100006,season%3DAW24)/photo",
            "photo@odata.mediaReadLink": "https://api.businesscentral.dynamics.com/v2.0/swedteam.se/test/api/naviProAB/pisa/v1.0/companies(1b0c9034-87d1-ef11-b8ec-000d3a652635)/pisaItems(no%3D100006,season%3DAW24)/photo",
            "picture1@odata.mediaEditLink": "https://api.businesscentral.dynamics.com/v2.0/swedteam.se/test/api/naviProAB/pisa/v1.0/companies(1b0c9034-87d1-ef11-b8ec-000d3a652635)/pisaItems(no%3D100006,season%3DAW24)/picture1",
            "picture1@odata.mediaReadLink": "https://api.businesscentral.dynamics.com/v2.0/swedteam.se/test/api/naviProAB/pisa/v1.0/companies(1b0c9034-87d1-ef11-b8ec-000d3a652635)/pisaItems(no%3D100006,season%3DAW24)/picture1",
            "picture2@odata.mediaEditLink": "https://api.businesscentral.dynamics.com/v2.0/swedteam.se/test/api/naviProAB/pisa/v1.0/companies(1b0c9034-87d1-ef11-b8ec-000d3a652635)/pisaItems(no%3D100006,season%3DAW24)/picture2",
            "picture2@odata.mediaReadLink": "https://api.businesscentral.dynamics.com/v2.0/swedteam.se/test/api/naviProAB/pisa/v1.0/companies(1b0c9034-87d1-ef11-b8ec-000d3a652635)/pisaItems(no%3D100006,season%3DAW24)/picture2",
            "presentation@odata.mediaEditLink": "https://api.businesscentral.dynamics.com/v2.0/swedteam.se/test/api/naviProAB/pisa/v1.0/companies(1b0c9034-87d1-ef11-b8ec-000d3a652635)/pisaItems(no%3D100006,season%3DAW24)/presentation",
            "presentation@odata.mediaReadLink": "https://api.businesscentral.dynamics.com/v2.0/swedteam.se/test/api/naviProAB/pisa/v1.0/companies(1b0c9034-87d1-ef11-b8ec-000d3a652635)/pisaItems(no%3D100006,season%3DAW24)/presentation",
            "style@odata.mediaEditLink": "https://api.businesscentral.dynamics.com/v2.0/swedteam.se/test/api/naviProAB/pisa/v1.0/companies(1b0c9034-87d1-ef11-b8ec-000d3a652635)/pisaItems(no%3D100006,season%3DAW24)/style",
            "style@odata.mediaReadLink": "https://api.businesscentral.dynamics.com/v2.0/swedteam.se/test/api/naviProAB/pisa/v1.0/companies(1b0c9034-87d1-ef11-b8ec-000d3a652635)/pisaItems(no%3D100006,season%3DAW24)/style"
        }

Example Prices

{
            "@odata.etag": "W/"JzE5OzcwMjc4NDQ1NzU0Njc0NTcwMDQxOzAwOyc="",
            "systemId": "b2a1ee94-f2ed-ef11-9345-6045bde9a7c1",
            "approved": false,
            "bomVersion": "",
            "colorCode": "",
            "colorName": "",
            "comment": "",
            "customs": 0,
            "freight": 2,
            "landedCostLCY": 151.25,
            "markupRecPrice": 0,
            "markup": 0,
            "materialCostLCY": 0.28,
            "otherLCY": 0,
            "priceListCode": "EURO",
            "productNo": "1",
            "productionCost": 13.75,
            "productionCurrencyCode": "EUR",
            "recPriceCurrencyCode": "EUR",
            "recommendedPrice": 74,
            "recommendedPriceRev": 0,
            "salesCurrencyCode": "EUR",
            "salesPrice": 33.2,
            "salesPriceRev": 0,
            "season": "AW25",
            "sizeCode": "",
            "systemCreatedAt": "2025-02-18T12:19:26.953Z",
            "systemCreatedBy": "ef7730e3-44de-494b-b496-962999e9aec3",
            "systemModifiedAt": "2025-02-18T12:20:16.407Z",
            "systemModifiedBy": "ef7730e3-44de-494b-b496-962999e9aec3",
            "tgRecPriceProcent": 0,
            "tg": 0,
            "vat": 0,
            "vendorNo": "840"
        }


Example ItemColors


{
"@odata.etag": "W/"JzE5OzU4OTI2NjgzNzk5Njc2MzczMTMxOzAwOyc="",
            "systemId": "63c1e45e-faed-ef11-9345-6045bde9a7c1",
            "colorCode": "420",
            "colorName": "Swedteam Green",
            "customName": "",
            "id": 0,
            "itemNo": "100479",
            "out": false,
            "pantoneNo": "19-0508 TCX",
            "season": "AW25",
            "supplierColorNo": "",
            "systemCreatedAt": "2025-02-18T13:15:16.65Z",
            "systemCreatedBy": "ef7730e3-44de-494b-b496-962999e9aec3",
            "systemModifiedAt": "2025-02-18T13:15:16.65Z",
            "systemModifiedBy": "ef7730e3-44de-494b-b496-962999e9aec3",
            "back@odata.mediaEditLink": "https://api.businesscentral.dynamics.com/v2.0/swedteam.se/test/api/naviProAB/pisa/v1.0/companies(1b0c9034-87d1-ef11-b8ec-000d3a652635)/pisaItemColors(63c1e45e-faed-ef11-9345-6045bde9a7c1)/back",
            "back@odata.mediaReadLink": "https://api.businesscentral.dynamics.com/v2.0/swedteam.se/test/api/naviProAB/pisa/v1.0/companies(1b0c9034-87d1-ef11-b8ec-000d3a652635)/pisaItemColors(63c1e45e-faed-ef11-9345-6045bde9a7c1)/back",
            "color@odata.mediaEditLink": "https://api.businesscentral.dynamics.com/v2.0/swedteam.se/test/api/naviProAB/pisa/v1.0/companies(1b0c9034-87d1-ef11-b8ec-000d3a652635)/pisaItemColors(63c1e45e-faed-ef11-9345-6045bde9a7c1)/color",
            "color@odata.mediaReadLink": "https://api.businesscentral.dynamics.com/v2.0/swedteam.se/test/api/naviProAB/pisa/v1.0/companies(1b0c9034-87d1-ef11-b8ec-000d3a652635)/pisaItemColors(63c1e45e-faed-ef11-9345-6045bde9a7c1)/color",
            "front@odata.mediaEditLink": "https://api.businesscentral.dynamics.com/v2.0/swedteam.se/test/api/naviProAB/pisa/v1.0/companies(1b0c9034-87d1-ef11-b8ec-000d3a652635)/pisaItemColors(63c1e45e-faed-ef11-9345-6045bde9a7c1)/front",
            "front@odata.mediaReadLink": "https://api.businesscentral.dynamics.com/v2.0/swedteam.se/test/api/naviProAB/pisa/v1.0/companies(1b0c9034-87d1-ef11-b8ec-000d3a652635)/pisaItemColors(63c1e45e-faed-ef11-9345-6045bde9a7c1)/front",
            "photoBack@odata.mediaEditLink": "https://api.businesscentral.dynamics.com/v2.0/swedteam.se/test/api/naviProAB/pisa/v1.0/companies(1b0c9034-87d1-ef11-b8ec-000d3a652635)/pisaItemColors(63c1e45e-faed-ef11-9345-6045bde9a7c1)/photoBack",
            "photoBack@odata.mediaReadLink": "https://api.businesscentral.dynamics.com/v2.0/swedteam.se/test/api/naviProAB/pisa/v1.0/companies(1b0c9034-87d1-ef11-b8ec-000d3a652635)/pisaItemColors(63c1e45e-faed-ef11-9345-6045bde9a7c1)/photoBack",
            "photoFront@odata.mediaEditLink": "https://api.businesscentral.dynamics.com/v2.0/swedteam.se/test/api/naviProAB/pisa/v1.0/companies(1b0c9034-87d1-ef11-b8ec-000d3a652635)/pisaItemColors(63c1e45e-faed-ef11-9345-6045bde9a7c1)/photoFront",
            "photoFront@odata.mediaReadLink": "https://api.businesscentral.dynamics.com/v2.0/swedteam.se/test/api/naviProAB/pisa/v1.0/companies(1b0c9034-87d1-ef11-b8ec-000d3a652635)/pisaItemColors(63c1e45e-faed-ef11-9345-6045bde9a7c1)/photoFront"
        }

Example ProductSizes

{
"@odata.etag": "W/"JzE5OzM0NTQ1MDY1MzYxNjgzMDUzNzMxOzAwOyc="",
            "systemId": "1abcfece-f0ed-ef11-9345-6045bde9a7c1",
            "description": "S",
            "productNo": "1",
            "season": "AW25",
            "sizeCode": "459",
            "sizeGroupCode": "S-3XL",
            "sortOrder": 3,
            "systemCreatedAt": "2025-02-18T12:06:42.7Z",
            "systemCreatedBy": "ef7730e3-44de-494b-b496-962999e9aec3",
            "systemModifiedAt": "2025-02-18T12:06:42.7Z",
            "systemModifiedBy": "ef7730e3-44de-494b-b496-962999e9aec3"
}

Example ItemQuality

{
            "no": "100006",
            "season": "AW24",
            "collection": "",
            "category": "T-SHIRT",
            "productGroupCode": "",
            "gender": "MEN",
            "systemId": "0a14b04f-3419-f011-9af4-6045bdfd5f13",
            "qualityCategory": "SHELL",
            "qualityDescription": "Cotton",
            "washTextDescription": "Cotton",
            "languageCode": "CS",
            "translation": "Bavlna",
            "auxiliaryIndex1": "100006",
            "auxiliaryIndex2": "AW24",
            "auxiliaryIndex3": 1,
            "auxiliaryIndex4": "COTTON",
            "auxiliaryIndex5": "Quality",
            "auxiliaryIndex6": "COTTON"
    }




Example ItemWashTexts

{
            "no": "100014",
            "season": "AW24",
            "description": "Ultra Light",
            "extendedDescription": "",
            "collection": "",
            "category": "SWEATER",
            "productGroupCode": "",
            "gender": "MEN",
            "systemId": "5d13b04f-3419-f011-9af4-6045bdfd5f13",
            "washTextDescription": "Close zippers before wash",
            "languageCode": "CZ",
            "translation": "Prát se zapnutými zipy",
            "auxiliaryIndex1": "Wash Text",
            "auxiliaryIndex2": "100"
        }



 




Updated: 2025-06-24 12:44 by Caroline Nilsson