Formato JSON de importação/exportação de parceiros comerciais
Introdução
Esta página mostra o formato JSON usado para exportar e ou importar parceiros comerciais.
Atenção
O principal caso de uso para este formato é copiar definições de parceiros comerciais de um ambiente para outro. Embora seja possível que você escreva um arquivo JSON de parceiro comercial manualmente, o Jitterbit não pode oferecer suporte a você com quaisquer problemas de importação.
Esquema JSON de parceiros comerciais
{
"partners": [
{
"name": "string",
"displayName": "string",
"ids": [
"string"
],
"preferredPartnerID": "string",
"send997": true,
"send997Type": "string",
"purgePIIOnArchive": false,
"userCreated": false,
"logo": "string",
"controlNumber": 0,
"groupID": "string",
"groupName": "string",
"envelope": {
"standard": "string",
"section": [
{
"name": "string",
"fields": [
{
"configname": "string",
"value": "string"
}
]
}
]
},
"udfs": [
{
"name": "string",
"value": "string"
}
],
"documents": [
{
"partnername": "string",
"direction": "Inbound",
"document": "string",
"mapProcessing": "XCBL",
"ediStandard": "string",
"documentVersion": "string",
"map": 0,
"active": true,
"testmode": false,
"debug": false,
"validateEdi": false,
"ack": false
}
],
"archiveSettings": {
"name": "string",
"archiveDays": 30,
"documents": [
{
"name": "string",
"archiveDays": 30
}
]
}
}
]
}
Exemplo de arquivo de exportação de parceiro comercial
{
"partners": [
{
"name": "ADI",
"displayName": "",
"ids": [
"ZZ-ADI",
"ZZ-ADITEST",
"ZZ-TST1ADI"
],
"preferredPartnerID": "",
"send997": true,
"send997Type": "Document",
"purgePIIOnArchive": false,
"userCreated": false,
"logo": "",
"controlNumber": 1000,
"groupID": "",
"groupName": "",
"envelope": {
"standard": "X12",
"section": [
{
"name": "Interchange",
"fields": [
{
"configname": "Authorization_Information_Qualifier",
"value": "00"
},
{
"configname": "Authorization_Information",
"value": ""
},
{
"configname": "Security_Information_Qualifier",
"value": "00"
},
{
"configname": "Security_Information",
"value": ""
},
{
"configname": "ISA_Standard_ID",
"value": ""
},
{
"configname": "Document_Version",
"value": ""
},
{
"configname": "Acknowledgement_Requested",
"value": ""
},
{
"configname": "Test_Indicator",
"value": ""
}
]
},
{
"name": "Functional Group",
"fields": [
{
"configname": "Responsible_Agency_Code",
"value": ""
},
{
"configname": "GS_Version",
"value": ""
}
]
},
{
"name": "Separators",
"fields": [
{
"configname": "Segment_Component",
"value": ""
},
{
"configname": "Element_Separator",
"value": ""
},
{
"configname": "Segment_Separator",
"value": ""
}
]
}
]
},
"udfs": [],
"documents": [
{
"partnername": "ADI",
"direction": "Inbound",
"document": "753",
"mapProcessing": "EDIXml",
"ediStandard": "X12",
"documentVersion": "4040",
"map": 0,
"active": false,
"testmode": false,
"debug": false,
"validateEdi": false,
"ack": true
}
],
"archiveSettings": {
"name": "ADI",
"archiveDays": 30,
"documents": []
}
}
]
}