POST eap?security-token={security-token}
Submits a new EAP
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
security-token |
Partner security token (provided by the PTC) to post EAP data |
string |
Required |
Body Parameters
EAP data
ElectronicAdvancePosTransferName | Description | Type | Additional information |
---|---|---|---|
General |
EAP general data |
General |
Required |
Emission |
EAP emission data |
Emission |
Required |
Request Formats
application/json, text/json
Sample:
{ "General": { "CreationDate": "sample string 1", "IssuingOrgCd": "sample string 2", "PayingOrgCd": "sample string 3", "ProductCd": "sample string 4", "ProductTypeCd": "sample string 5", "BilateralAgreementPid": "sample string 6" }, "Emission": { "Values": { "Deposited": { "Value": "sample string 1", "Currency": "sample string 2" }, "DepositedXchRate": "sample string 1", "Transferred": { "Value": "sample string 1", "Currency": "sample string 2" } }, "OrderCharacteristics": { "MessageToRecipient": "sample string 1", "DeclarationDescription": "sample string 2" }, "CostService": { "Services": [ { "Id": "sample string 1", "Name": "sample string 2", "Value": "sample string 3", "Currency": "sample string 4" }, { "Id": "sample string 1", "Name": "sample string 2", "Value": "sample string 3", "Currency": "sample string 4" } ], "EstimatedFees": { "Value": "sample string 1", "Currency": "sample string 2" }, "EstimatedTotal": { "Value": "sample string 1", "Currency": "sample string 2" } }, "Customers": { "Sender": { "Name": { "Last": "sample string 1", "First": "sample string 2" }, "Address": { "Street1": "sample string 1", "Street2": "sample string 2", "PostCode": "sample string 3", "City": "sample string 4", "Country": "sample string 5" }, "Birth": { "BirthDate": "sample string 1", "BirthCountry": "sample string 2" }, "Nationality": "sample string 1", "Identification": { "IdentificationType": "sample string 1", "IdentificationNo": "sample string 2", "ExpirationDate": "sample string 3", "DocumentRaw": [ "sample string 1", "sample string 2" ] }, "Contact": { "Phone": "sample string 1", "Email": "sample string 2" } }, "Payee": { "Name": { "Last": "sample string 1", "First": "sample string 2" }, "Address": { "Street1": "sample string 1", "Street2": "sample string 2", "PostCode": "sample string 3", "City": "sample string 4", "Country": "sample string 5" }, "Contact": { "Phone": "sample string 1", "Email": "sample string 2" } } } } }
application/xml, text/xml
Sample:
<ElectronicAdvancePosTransfer xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <General> <CreationDate>sample string 1</CreationDate> <IssuingOrgCd>sample string 2</IssuingOrgCd> <PayingOrgCd>sample string 3</PayingOrgCd> <ProductCd>sample string 4</ProductCd> <ProductTypeCd>sample string 5</ProductTypeCd> <BilateralAgreementPid>sample string 6</BilateralAgreementPid> </General> <Emission> <Values> <Deposited> <Value>sample string 1</Value> <Currency>sample string 2</Currency> </Deposited> <DepositedXchRate>sample string 1</DepositedXchRate> <Transferred> <Value>sample string 1</Value> <Currency>sample string 2</Currency> </Transferred> </Values> <OrderCharacteristics> <MessageToRecipient>sample string 1</MessageToRecipient> <DeclarationDescription>sample string 2</DeclarationDescription> </OrderCharacteristics> <CostService> <Services> <Service> <Id>sample string 1</Id> <Name>sample string 2</Name> <Value>sample string 3</Value> <Currency>sample string 4</Currency> </Service> <Service> <Id>sample string 1</Id> <Name>sample string 2</Name> <Value>sample string 3</Value> <Currency>sample string 4</Currency> </Service> </Services> <EstimatedFees> <Value>sample string 1</Value> <Currency>sample string 2</Currency> </EstimatedFees> <EstimatedTotal> <Value>sample string 1</Value> <Currency>sample string 2</Currency> </EstimatedTotal> </CostService> <Customers> <Sender> <Name> <Last>sample string 1</Last> <First>sample string 2</First> </Name> <Address> <Street1>sample string 1</Street1> <Street2>sample string 2</Street2> <PostCode>sample string 3</PostCode> <City>sample string 4</City> <Country>sample string 5</Country> </Address> <Birth> <BirthDate>sample string 1</BirthDate> <BirthCountry>sample string 2</BirthCountry> </Birth> <Nationality>sample string 1</Nationality> <Identification> <IdentificationType>sample string 1</IdentificationType> <IdentificationNo>sample string 2</IdentificationNo> <ExpirationDate>sample string 3</ExpirationDate> <DocumentRaw>sample string 1</DocumentRaw> <DocumentRaw>sample string 2</DocumentRaw> </Identification> <Contact> <Phone>sample string 1</Phone> <Email>sample string 2</Email> </Contact> </Sender> <Payee> <Name> <Last>sample string 1</Last> <First>sample string 2</First> </Name> <Address> <Street1>sample string 1</Street1> <Street2>sample string 2</Street2> <PostCode>sample string 3</PostCode> <City>sample string 4</City> <Country>sample string 5</Country> </Address> <Contact> <Phone>sample string 1</Phone> <Email>sample string 2</Email> </Contact> </Payee> </Customers> </Emission> </ElectronicAdvancePosTransfer>
Response Information
Resource Description
EAP code
EapPostResponseName | Description | Type | Additional information |
---|---|---|---|
Code |
EAP code generated during the Post operation |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Code": "sample string 1" }
application/xml, text/xml
Sample:
<EapPostResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Code>sample string 1</Code> </EapPostResponse>