POST national-sales-order-from-erp/create
Request Information
URI Parameters
None.
Body Parameters
ERPCreateIntegrationLogName | Description | Type | Additional information |
---|---|---|---|
IdPedidoCrm | string |
None. |
|
MessageResult | string |
None. |
|
MessageDetails | Collection of MessageDetail |
None. |
|
PdfPedido | string |
None. |
|
PdfEntrega | string |
None. |
|
Archivo | AttachmentContentModel |
None. |
|
OrderDetailModel | OrderDetailModel |
None. |
|
IncidentModel | IncidentModel |
None. |
Request Formats
application/json, text/json
Sample:
{ "IdPedidoCrm": "sample string 1", "MessageResult": "sample string 2", "MessageDetails": [ { "MessageIndTpDoc": "sample string 1", "MessageNumDoc": "sample string 2", "MessageIdClass": "sample string 3", "MessageNumber": 1, "MessageTexto": "sample string 4" }, { "MessageIndTpDoc": "sample string 1", "MessageNumDoc": "sample string 2", "MessageIdClass": "sample string 3", "MessageNumber": 1, "MessageTexto": "sample string 4" } ], "PdfPedido": "sample string 3", "PdfEntrega": "sample string 4", "Archivo": { "MimePart": "sample string 1", "ContenidoBase64": "sample string 2", "ByteArray": "QEA=", "Base": { "Id": "48434094-bfe8-471b-a419-6ab22ae50b0c", "Dynamics365Id": "18afa8ac-0a1e-4d8c-ae5a-9ff7124cece6", "Name": "sample string 1", "ShortName": "sample string 2", "CreatedById": { "Id": "6fd87574-4518-4f24-b170-eb2f54c249c3", "Name": "sample string 1" }, "CreatedBy": { "Id": "6fd87574-4518-4f24-b170-eb2f54c249c3", "Name": "sample string 1" }, "CreatedOnUTC": "2024-10-05T10:47:14.9114763+00:00", "ModifiedById": { "Id": "6fd87574-4518-4f24-b170-eb2f54c249c3", "Name": "sample string 1" }, "ModifiedBy": { "Id": "6fd87574-4518-4f24-b170-eb2f54c249c3", "Name": "sample string 1" }, "ModifiedOnUTC": "2024-10-05T10:47:14.9114763+00:00", "OwnerId": { "Id": "6fd87574-4518-4f24-b170-eb2f54c249c3", "Name": "sample string 1" }, "Owner": { "Id": "6fd87574-4518-4f24-b170-eb2f54c249c3", "Name": "sample string 1" }, "StateCode": 1, "StatusCode": 1 }, "Id": "24b7e9d3-c066-47f6-9402-ac1fcb22fa35", "Name": "sample string 3" }, "OrderDetailModel": { "NumeroOrden": "sample string 1", "PrimeraFechaEntrega": "2024-10-05T10:47:14.9114763+00:00", "FechaValor": "2024-10-05T10:47:14.9114763+00:00", "IncidentId": { "Id": "6fd87574-4518-4f24-b170-eb2f54c249c3", "Name": "sample string 1" }, "CenterId": { "Id": "6fd87574-4518-4f24-b170-eb2f54c249c3", "Name": "sample string 1" }, "SubjectId": { "Id": "6fd87574-4518-4f24-b170-eb2f54c249c3", "Name": "sample string 1" }, "Base": { "Id": "48434094-bfe8-471b-a419-6ab22ae50b0c", "Dynamics365Id": "18afa8ac-0a1e-4d8c-ae5a-9ff7124cece6", "Name": "sample string 1", "ShortName": "sample string 2", "CreatedById": { "Id": "6fd87574-4518-4f24-b170-eb2f54c249c3", "Name": "sample string 1" }, "CreatedBy": { "Id": "6fd87574-4518-4f24-b170-eb2f54c249c3", "Name": "sample string 1" }, "CreatedOnUTC": "2024-10-05T10:47:14.9114763+00:00", "ModifiedById": { "Id": "6fd87574-4518-4f24-b170-eb2f54c249c3", "Name": "sample string 1" }, "ModifiedBy": { "Id": "6fd87574-4518-4f24-b170-eb2f54c249c3", "Name": "sample string 1" }, "ModifiedOnUTC": "2024-10-05T10:47:14.9114763+00:00", "OwnerId": { "Id": "6fd87574-4518-4f24-b170-eb2f54c249c3", "Name": "sample string 1" }, "Owner": { "Id": "6fd87574-4518-4f24-b170-eb2f54c249c3", "Name": "sample string 1" }, "StateCode": 1, "StatusCode": 1 }, "Id": "4276b0c3-8da7-489e-b6f5-aaa15b8b0f74", "Name": "sample string 2" }, "IncidentModel": { "UrlSharepointDocumentos": "sample string 1", "Solicitante": "f851ba8a-29db-4500-87e9-3d65a9f4b519", "DestinatarioMercancia": "443e6771-ff58-4257-979e-d66e391e3657", "NumeroPedidoCliente": "sample string 2", "FechaPreferenteEntrega": "2024-10-05T10:47:14.9114763+00:00", "CondicionPago": "ad617146-2e52-4369-b355-35d7d69e9bf4", "Incoterms1": "f67c7c73-a0ca-4c9c-a270-69f4bafa9788", "Incoterms2": "470e55f9-aed7-4dd3-a650-c524284edd0d", "MonedaDoc": "a768cc25-aa82-43c8-8f8f-0e1d658c04f1", "TipoCambio": 1.0, "PuestoDescarga": "sample string 3", "ClaseExpedicion": "8af2a226-71c3-44bd-9bcc-4e8495f06ed8", "DestinatarioFactura": "0ae8b4ce-27c7-47b8-b005-70aa87ec0f8b", "Consignee1": "9694c7e6-a41d-48b2-888a-c2b297a81f4f", "Notify": "0e6520c3-182b-4634-904a-7252d732c7f3", "AgenteAduana": "5d8e8d1c-61b4-4375-bc54-b4c4a438e86f", "GrupoClientes1": "cd374cb6-d05e-4e85-a691-f06f00247386", "Fechas": true, "Firmas": true, "UnidadMedida": "dce11d07-c078-49ae-bbe7-a9e76fc8229a", "NcmNaladi": true, "Desglose": true, "IdiomaFormulario": "sample string 4", "TextoInformacionEmbarque": "sample string 5", "TextoInformacionDespacho": "sample string 6", "TextoNavePreliminar": "sample string 7", "TextoObservacionesFactura": "sample string 8", "TextoDireccionAdicional": "sample string 9", "TipoCambioContable": 1.0, "SalesOrganizationId": { "Id": "6fd87574-4518-4f24-b170-eb2f54c249c3", "Name": "sample string 1" }, "Base": { "Id": "48434094-bfe8-471b-a419-6ab22ae50b0c", "Dynamics365Id": "18afa8ac-0a1e-4d8c-ae5a-9ff7124cece6", "Name": "sample string 1", "ShortName": "sample string 2", "CreatedById": { "Id": "6fd87574-4518-4f24-b170-eb2f54c249c3", "Name": "sample string 1" }, "CreatedBy": { "Id": "6fd87574-4518-4f24-b170-eb2f54c249c3", "Name": "sample string 1" }, "CreatedOnUTC": "2024-10-05T10:47:14.9114763+00:00", "ModifiedById": { "Id": "6fd87574-4518-4f24-b170-eb2f54c249c3", "Name": "sample string 1" }, "ModifiedBy": { "Id": "6fd87574-4518-4f24-b170-eb2f54c249c3", "Name": "sample string 1" }, "ModifiedOnUTC": "2024-10-05T10:47:14.9114763+00:00", "OwnerId": { "Id": "6fd87574-4518-4f24-b170-eb2f54c249c3", "Name": "sample string 1" }, "Owner": { "Id": "6fd87574-4518-4f24-b170-eb2f54c249c3", "Name": "sample string 1" }, "StateCode": 1, "StatusCode": 1 }, "Id": "37c7c693-3792-4824-8977-e82d929baa17", "Name": "sample string 10" } }
text/xml
Sample:
<ERPCreateIntegrationLog xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IntegracionSAPCRM.ViewModels.FromERP.NationalSalesNotification"> <Archivo xmlns:d2p1="http://schemas.datacontract.org/2004/07/IntegracionSAPCRM.ViewModels"> <d2p1:Id>24b7e9d3-c066-47f6-9402-ac1fcb22fa35</d2p1:Id> <d2p1:Name>sample string 3</d2p1:Name> <d2p1:Base> <d2p1:CreatedBy xmlns:d4p1="http://schemas.datacontract.org/2004/07/Xmsbs.Common.BE"> <d4p1:Id>6fd87574-4518-4f24-b170-eb2f54c249c3</d4p1:Id> <d4p1:Name>sample string 1</d4p1:Name> </d2p1:CreatedBy> <d2p1:CreatedById xmlns:d4p1="http://schemas.datacontract.org/2004/07/Xmsbs.Common.BE"> <d4p1:Id>6fd87574-4518-4f24-b170-eb2f54c249c3</d4p1:Id> <d4p1:Name>sample string 1</d4p1:Name> </d2p1:CreatedById> <d2p1:CreatedOnUTC>2024-10-05T10:47:14.9114763+00:00</d2p1:CreatedOnUTC> <d2p1:Dynamics365Id>18afa8ac-0a1e-4d8c-ae5a-9ff7124cece6</d2p1:Dynamics365Id> <d2p1:Id>48434094-bfe8-471b-a419-6ab22ae50b0c</d2p1:Id> <d2p1:ModifiedBy xmlns:d4p1="http://schemas.datacontract.org/2004/07/Xmsbs.Common.BE"> <d4p1:Id>6fd87574-4518-4f24-b170-eb2f54c249c3</d4p1:Id> <d4p1:Name>sample string 1</d4p1:Name> </d2p1:ModifiedBy> <d2p1:ModifiedById xmlns:d4p1="http://schemas.datacontract.org/2004/07/Xmsbs.Common.BE"> <d4p1:Id>6fd87574-4518-4f24-b170-eb2f54c249c3</d4p1:Id> <d4p1:Name>sample string 1</d4p1:Name> </d2p1:ModifiedById> <d2p1:ModifiedOnUTC>2024-10-05T10:47:14.9114763+00:00</d2p1:ModifiedOnUTC> <d2p1:Name>sample string 1</d2p1:Name> <d2p1:Owner xmlns:d4p1="http://schemas.datacontract.org/2004/07/Xmsbs.Common.BE"> <d4p1:Id>6fd87574-4518-4f24-b170-eb2f54c249c3</d4p1:Id> <d4p1:Name>sample string 1</d4p1:Name> </d2p1:Owner> <d2p1:OwnerId xmlns:d4p1="http://schemas.datacontract.org/2004/07/Xmsbs.Common.BE"> <d4p1:Id>6fd87574-4518-4f24-b170-eb2f54c249c3</d4p1:Id> <d4p1:Name>sample string 1</d4p1:Name> </d2p1:OwnerId> <d2p1:ShortName>sample string 2</d2p1:ShortName> <d2p1:StateCode>1</d2p1:StateCode> <d2p1:StatusCode>1</d2p1:StatusCode> </d2p1:Base> <d2p1:ByteArray>QEA=</d2p1:ByteArray> <d2p1:ContenidoBase64>sample string 2</d2p1:ContenidoBase64> <d2p1:MimePart>sample string 1</d2p1:MimePart> </Archivo> <IdPedidoCrm>sample string 1</IdPedidoCrm> <IncidentModel xmlns:d2p1="http://schemas.datacontract.org/2004/07/IntegracionSAPCRM.ViewModels"> <d2p1:Id>37c7c693-3792-4824-8977-e82d929baa17</d2p1:Id> <d2p1:Name>sample string 10</d2p1:Name> <d2p1:AgenteAduana>5d8e8d1c-61b4-4375-bc54-b4c4a438e86f</d2p1:AgenteAduana> <d2p1:Base> <d2p1:CreatedBy xmlns:d4p1="http://schemas.datacontract.org/2004/07/Xmsbs.Common.BE"> <d4p1:Id>6fd87574-4518-4f24-b170-eb2f54c249c3</d4p1:Id> <d4p1:Name>sample string 1</d4p1:Name> </d2p1:CreatedBy> <d2p1:CreatedById xmlns:d4p1="http://schemas.datacontract.org/2004/07/Xmsbs.Common.BE"> <d4p1:Id>6fd87574-4518-4f24-b170-eb2f54c249c3</d4p1:Id> <d4p1:Name>sample string 1</d4p1:Name> </d2p1:CreatedById> <d2p1:CreatedOnUTC>2024-10-05T10:47:14.9114763+00:00</d2p1:CreatedOnUTC> <d2p1:Dynamics365Id>18afa8ac-0a1e-4d8c-ae5a-9ff7124cece6</d2p1:Dynamics365Id> <d2p1:Id>48434094-bfe8-471b-a419-6ab22ae50b0c</d2p1:Id> <d2p1:ModifiedBy xmlns:d4p1="http://schemas.datacontract.org/2004/07/Xmsbs.Common.BE"> <d4p1:Id>6fd87574-4518-4f24-b170-eb2f54c249c3</d4p1:Id> <d4p1:Name>sample string 1</d4p1:Name> </d2p1:ModifiedBy> <d2p1:ModifiedById xmlns:d4p1="http://schemas.datacontract.org/2004/07/Xmsbs.Common.BE"> <d4p1:Id>6fd87574-4518-4f24-b170-eb2f54c249c3</d4p1:Id> <d4p1:Name>sample string 1</d4p1:Name> </d2p1:ModifiedById> <d2p1:ModifiedOnUTC>2024-10-05T10:47:14.9114763+00:00</d2p1:ModifiedOnUTC> <d2p1:Name>sample string 1</d2p1:Name> <d2p1:Owner xmlns:d4p1="http://schemas.datacontract.org/2004/07/Xmsbs.Common.BE"> <d4p1:Id>6fd87574-4518-4f24-b170-eb2f54c249c3</d4p1:Id> <d4p1:Name>sample string 1</d4p1:Name> </d2p1:Owner> <d2p1:OwnerId xmlns:d4p1="http://schemas.datacontract.org/2004/07/Xmsbs.Common.BE"> <d4p1:Id>6fd87574-4518-4f24-b170-eb2f54c249c3</d4p1:Id> <d4p1:Name>sample string 1</d4p1:Name> </d2p1:OwnerId> <d2p1:ShortName>sample string 2</d2p1:ShortName> <d2p1:StateCode>1</d2p1:StateCode> <d2p1:StatusCode>1</d2p1:StatusCode> </d2p1:Base> <d2p1:ClaseExpedicion>8af2a226-71c3-44bd-9bcc-4e8495f06ed8</d2p1:ClaseExpedicion> <d2p1:CondicionPago>ad617146-2e52-4369-b355-35d7d69e9bf4</d2p1:CondicionPago> <d2p1:Consignee1>9694c7e6-a41d-48b2-888a-c2b297a81f4f</d2p1:Consignee1> <d2p1:Desglose>true</d2p1:Desglose> <d2p1:DestinatarioFactura>0ae8b4ce-27c7-47b8-b005-70aa87ec0f8b</d2p1:DestinatarioFactura> <d2p1:DestinatarioMercancia>443e6771-ff58-4257-979e-d66e391e3657</d2p1:DestinatarioMercancia> <d2p1:FechaPreferenteEntrega>2024-10-05T10:47:14.9114763+00:00</d2p1:FechaPreferenteEntrega> <d2p1:Fechas>true</d2p1:Fechas> <d2p1:Firmas>true</d2p1:Firmas> <d2p1:GrupoClientes1>cd374cb6-d05e-4e85-a691-f06f00247386</d2p1:GrupoClientes1> <d2p1:IdiomaFormulario>sample string 4</d2p1:IdiomaFormulario> <d2p1:Incoterms1>f67c7c73-a0ca-4c9c-a270-69f4bafa9788</d2p1:Incoterms1> <d2p1:Incoterms2>470e55f9-aed7-4dd3-a650-c524284edd0d</d2p1:Incoterms2> <d2p1:MonedaDoc>a768cc25-aa82-43c8-8f8f-0e1d658c04f1</d2p1:MonedaDoc> <d2p1:NcmNaladi>true</d2p1:NcmNaladi> <d2p1:Notify>0e6520c3-182b-4634-904a-7252d732c7f3</d2p1:Notify> <d2p1:NumeroPedidoCliente>sample string 2</d2p1:NumeroPedidoCliente> <d2p1:PuestoDescarga>sample string 3</d2p1:PuestoDescarga> <d2p1:SalesOrganizationId xmlns:d3p1="http://schemas.datacontract.org/2004/07/Xmsbs.Common.BE"> <d3p1:Id>6fd87574-4518-4f24-b170-eb2f54c249c3</d3p1:Id> <d3p1:Name>sample string 1</d3p1:Name> </d2p1:SalesOrganizationId> <d2p1:Solicitante>f851ba8a-29db-4500-87e9-3d65a9f4b519</d2p1:Solicitante> <d2p1:TextoDireccionAdicional>sample string 9</d2p1:TextoDireccionAdicional> <d2p1:TextoInformacionDespacho>sample string 6</d2p1:TextoInformacionDespacho> <d2p1:TextoInformacionEmbarque>sample string 5</d2p1:TextoInformacionEmbarque> <d2p1:TextoNavePreliminar>sample string 7</d2p1:TextoNavePreliminar> <d2p1:TextoObservacionesFactura>sample string 8</d2p1:TextoObservacionesFactura> <d2p1:TipoCambio>1</d2p1:TipoCambio> <d2p1:TipoCambioContable>1</d2p1:TipoCambioContable> <d2p1:UnidadMedida>dce11d07-c078-49ae-bbe7-a9e76fc8229a</d2p1:UnidadMedida> <d2p1:UrlSharepointDocumentos>sample string 1</d2p1:UrlSharepointDocumentos> </IncidentModel> <MessageDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/Xmsbs.Common.BE"> <d2p1:MessageDetail> <d2p1:MessageIdClass>sample string 3</d2p1:MessageIdClass> <d2p1:MessageIndTpDoc>sample string 1</d2p1:MessageIndTpDoc> <d2p1:MessageNumDoc>sample string 2</d2p1:MessageNumDoc> <d2p1:MessageNumber>1</d2p1:MessageNumber> <d2p1:MessageTexto>sample string 4</d2p1:MessageTexto> </d2p1:MessageDetail> <d2p1:MessageDetail> <d2p1:MessageIdClass>sample string 3</d2p1:MessageIdClass> <d2p1:MessageIndTpDoc>sample string 1</d2p1:MessageIndTpDoc> <d2p1:MessageNumDoc>sample string 2</d2p1:MessageNumDoc> <d2p1:MessageNumber>1</d2p1:MessageNumber> <d2p1:MessageTexto>sample string 4</d2p1:MessageTexto> </d2p1:MessageDetail> </MessageDetails> <MessageResult>sample string 2</MessageResult> <OrderDetailModel xmlns:d2p1="http://schemas.datacontract.org/2004/07/IntegracionSAPCRM.ViewModels"> <d2p1:Id>4276b0c3-8da7-489e-b6f5-aaa15b8b0f74</d2p1:Id> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:Base> <d2p1:CreatedBy xmlns:d4p1="http://schemas.datacontract.org/2004/07/Xmsbs.Common.BE"> <d4p1:Id>6fd87574-4518-4f24-b170-eb2f54c249c3</d4p1:Id> <d4p1:Name>sample string 1</d4p1:Name> </d2p1:CreatedBy> <d2p1:CreatedById xmlns:d4p1="http://schemas.datacontract.org/2004/07/Xmsbs.Common.BE"> <d4p1:Id>6fd87574-4518-4f24-b170-eb2f54c249c3</d4p1:Id> <d4p1:Name>sample string 1</d4p1:Name> </d2p1:CreatedById> <d2p1:CreatedOnUTC>2024-10-05T10:47:14.9114763+00:00</d2p1:CreatedOnUTC> <d2p1:Dynamics365Id>18afa8ac-0a1e-4d8c-ae5a-9ff7124cece6</d2p1:Dynamics365Id> <d2p1:Id>48434094-bfe8-471b-a419-6ab22ae50b0c</d2p1:Id> <d2p1:ModifiedBy xmlns:d4p1="http://schemas.datacontract.org/2004/07/Xmsbs.Common.BE"> <d4p1:Id>6fd87574-4518-4f24-b170-eb2f54c249c3</d4p1:Id> <d4p1:Name>sample string 1</d4p1:Name> </d2p1:ModifiedBy> <d2p1:ModifiedById xmlns:d4p1="http://schemas.datacontract.org/2004/07/Xmsbs.Common.BE"> <d4p1:Id>6fd87574-4518-4f24-b170-eb2f54c249c3</d4p1:Id> <d4p1:Name>sample string 1</d4p1:Name> </d2p1:ModifiedById> <d2p1:ModifiedOnUTC>2024-10-05T10:47:14.9114763+00:00</d2p1:ModifiedOnUTC> <d2p1:Name>sample string 1</d2p1:Name> <d2p1:Owner xmlns:d4p1="http://schemas.datacontract.org/2004/07/Xmsbs.Common.BE"> <d4p1:Id>6fd87574-4518-4f24-b170-eb2f54c249c3</d4p1:Id> <d4p1:Name>sample string 1</d4p1:Name> </d2p1:Owner> <d2p1:OwnerId xmlns:d4p1="http://schemas.datacontract.org/2004/07/Xmsbs.Common.BE"> <d4p1:Id>6fd87574-4518-4f24-b170-eb2f54c249c3</d4p1:Id> <d4p1:Name>sample string 1</d4p1:Name> </d2p1:OwnerId> <d2p1:ShortName>sample string 2</d2p1:ShortName> <d2p1:StateCode>1</d2p1:StateCode> <d2p1:StatusCode>1</d2p1:StatusCode> </d2p1:Base> <d2p1:CenterId xmlns:d3p1="http://schemas.datacontract.org/2004/07/Xmsbs.Common.BE"> <d3p1:Id>6fd87574-4518-4f24-b170-eb2f54c249c3</d3p1:Id> <d3p1:Name>sample string 1</d3p1:Name> </d2p1:CenterId> <d2p1:FechaValor>2024-10-05T10:47:14.9114763+00:00</d2p1:FechaValor> <d2p1:IncidentId xmlns:d3p1="http://schemas.datacontract.org/2004/07/Xmsbs.Common.BE"> <d3p1:Id>6fd87574-4518-4f24-b170-eb2f54c249c3</d3p1:Id> <d3p1:Name>sample string 1</d3p1:Name> </d2p1:IncidentId> <d2p1:NumeroOrden>sample string 1</d2p1:NumeroOrden> <d2p1:PrimeraFechaEntrega>2024-10-05T10:47:14.9114763+00:00</d2p1:PrimeraFechaEntrega> <d2p1:SubjectId xmlns:d3p1="http://schemas.datacontract.org/2004/07/Xmsbs.Common.BE"> <d3p1:Id>6fd87574-4518-4f24-b170-eb2f54c249c3</d3p1:Id> <d3p1:Name>sample string 1</d3p1:Name> </d2p1:SubjectId> </OrderDetailModel> <PdfEntrega>sample string 4</PdfEntrega> <PdfPedido>sample string 3</PdfPedido> </ERPCreateIntegrationLog>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.