POST national-delivery-from-crm/create

Request Information

URI Parameters

None.

Body Parameters

CRMNationalDeliveryModel
NameDescriptionTypeAdditional information
IdIncident

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "IdIncident": "4052ba22-411d-4df6-8336-8def8dcff4fe"
}

text/xml

Sample:
<CRMNationalDeliveryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IntegracionSAPCRM.ViewModels.FromCRM.NationalDelivery">
  <IdIncident>4052ba22-411d-4df6-8336-8def8dcff4fe</IdIncident>
</CRMNationalDeliveryModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ERPCreateNationalDeliveryResponseModel
NameDescriptionTypeAdditional information
ID_ARCHIVO_CRM

string

None.

MENSAJE

ERPMessageResultModel

None.

Exception

Exception

None.

StatusCode

integer

None.

ReasonPhrase

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ID_ARCHIVO_CRM": "sample string 1",
  "MENSAJE": {
    "MESSAGE_RESULT": 1,
    "MESSAGE_TEXTO": "sample string 2"
  },
  "Exception": {
    "ClassName": "System.Exception",
    "Message": null,
    "Data": null,
    "InnerException": null,
    "HelpURL": "sample string 1",
    "StackTraceString": null,
    "RemoteStackTraceString": null,
    "RemoteStackIndex": 0,
    "ExceptionMethod": null,
    "HResult": 3,
    "Source": "sample string 2",
    "WatsonBuckets": null
  },
  "StatusCode": 2,
  "ReasonPhrase": "sample string 3"
}

text/xml

Sample:
<ERPCreateNationalDeliveryResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IntegracionSAPCRM.ViewModels.ERPResponse">
  <Exception xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <ClassName xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">System.Exception</ClassName>
    <Message i:nil="true" xmlns="" />
    <Data i:nil="true" xmlns="" />
    <InnerException i:nil="true" xmlns="" />
    <HelpURL xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 1</HelpURL>
    <StackTraceString i:nil="true" xmlns="" />
    <RemoteStackTraceString i:nil="true" xmlns="" />
    <RemoteStackIndex xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">0</RemoteStackIndex>
    <ExceptionMethod i:nil="true" xmlns="" />
    <HResult xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">3</HResult>
    <Source xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 2</Source>
    <WatsonBuckets i:nil="true" xmlns="" />
  </Exception>
  <IdPedidoCrm>sample string 1</IdPedidoCrm>
  <Mensaje xmlns:d2p1="http://schemas.datacontract.org/2004/07/IntegracionSAPCRM.ViewModels.Common">
    <d2p1:MessageResult>1</d2p1:MessageResult>
    <d2p1:MessageTexto>sample string 2</d2p1:MessageTexto>
  </Mensaje>
  <ReasonPhrase>sample string 3</ReasonPhrase>
  <StatusCode>2</StatusCode>
</ERPCreateNationalDeliveryResponseModel>