POST v6/api_1169/GetOrders
Request Information
URI Parameters
None.
Body Parameters
CommandModelName | Description | Type | Additional information |
---|---|---|---|
UserName | string |
None. |
|
Password | string |
None. |
|
DatabaseCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserName": "sample string 1", "Password": "sample string 2", "DatabaseCode": "sample string 3" }
application/xml, text/xml
Sample:
<CommandModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/V6.models.Entegrasyon.Operasyonlar.CoupaEntegrasyon.Models.Commands"> <DatabaseCode>sample string 3</DatabaseCode> <Password>sample string 2</Password> <UserName>sample string 1</UserName> </CommandModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResultModelOfOrderModelName | Description | Type | Additional information |
---|---|---|---|
IsSuccessful | boolean |
None. |
|
ErrorMessage | string |
None. |
|
ItemResults | Collection of ItemResultModelOfOrderModel |
None. |
Response Formats
application/json, text/json
Sample:
{ "IsSuccessful": true, "ErrorMessage": "sample string 2", "ItemResults": [ { "IsSuccessfull": true, "ErrorMessage": "sample string 2", "Item": { "Action": "sample string 1", "PONumber": "sample string 2", "SupplierNumber": "sample string 3", "CurrencyCode": "sample string 4", "ChartOfAccountName": "sample string 5", "ShipToAttention": "sample string 6", "ShipToStreet1": "sample string 7", "ShipToStreet2": "sample string 8", "ShipToCity": "sample string 9", "ShipToPostalCode": "sample string 10", "ShipToEmployeeNumber": "sample string 11", "Details": [ { "Action": "sample string 1", "RecordIdentifier": "7833d9ea-64f7-4947-9f95-601bbfbd14a9", "LineNumber": 3, "ErpReferenceCode": "sample string 4", "SupplierPartNumber": "sample string 5", "Quantity": 6.0, "Price": 7.0, "UOMCode": "sample string 8", "CommodityName": "sample string 9", "AccountSegment1": "sample string 10", "AccountSegment2": "sample string 11", "AccountSegment3": "sample string 12", "AccountSegment4": "sample string 13", "AccountSegment5": "sample string 14", "AccountSegment6": "sample string 15", "AccountSegment7": "sample string 16", "AccountSegment8": "sample string 17", "AccountSegment9": "sample string 18" }, { "Action": "sample string 1", "RecordIdentifier": "7833d9ea-64f7-4947-9f95-601bbfbd14a9", "LineNumber": 3, "ErpReferenceCode": "sample string 4", "SupplierPartNumber": "sample string 5", "Quantity": 6.0, "Price": 7.0, "UOMCode": "sample string 8", "CommodityName": "sample string 9", "AccountSegment1": "sample string 10", "AccountSegment2": "sample string 11", "AccountSegment3": "sample string 12", "AccountSegment4": "sample string 13", "AccountSegment5": "sample string 14", "AccountSegment6": "sample string 15", "AccountSegment7": "sample string 16", "AccountSegment8": "sample string 17", "AccountSegment9": "sample string 18" } ] } }, { "IsSuccessfull": true, "ErrorMessage": "sample string 2", "Item": { "Action": "sample string 1", "PONumber": "sample string 2", "SupplierNumber": "sample string 3", "CurrencyCode": "sample string 4", "ChartOfAccountName": "sample string 5", "ShipToAttention": "sample string 6", "ShipToStreet1": "sample string 7", "ShipToStreet2": "sample string 8", "ShipToCity": "sample string 9", "ShipToPostalCode": "sample string 10", "ShipToEmployeeNumber": "sample string 11", "Details": [ { "Action": "sample string 1", "RecordIdentifier": "7833d9ea-64f7-4947-9f95-601bbfbd14a9", "LineNumber": 3, "ErpReferenceCode": "sample string 4", "SupplierPartNumber": "sample string 5", "Quantity": 6.0, "Price": 7.0, "UOMCode": "sample string 8", "CommodityName": "sample string 9", "AccountSegment1": "sample string 10", "AccountSegment2": "sample string 11", "AccountSegment3": "sample string 12", "AccountSegment4": "sample string 13", "AccountSegment5": "sample string 14", "AccountSegment6": "sample string 15", "AccountSegment7": "sample string 16", "AccountSegment8": "sample string 17", "AccountSegment9": "sample string 18" }, { "Action": "sample string 1", "RecordIdentifier": "7833d9ea-64f7-4947-9f95-601bbfbd14a9", "LineNumber": 3, "ErpReferenceCode": "sample string 4", "SupplierPartNumber": "sample string 5", "Quantity": 6.0, "Price": 7.0, "UOMCode": "sample string 8", "CommodityName": "sample string 9", "AccountSegment1": "sample string 10", "AccountSegment2": "sample string 11", "AccountSegment3": "sample string 12", "AccountSegment4": "sample string 13", "AccountSegment5": "sample string 14", "AccountSegment6": "sample string 15", "AccountSegment7": "sample string 16", "AccountSegment8": "sample string 17", "AccountSegment9": "sample string 18" } ] } } ] }
application/xml, text/xml
Sample:
<ResultModelOfOrderModelYWqhRaIg xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/V6.models.Entegrasyon.Operasyonlar.CoupaEntegrasyon.Models"> <ErrorMessage>sample string 2</ErrorMessage> <IsSuccessful>true</IsSuccessful> <ItemResults xmlns:d2p1="http://schemas.datacontract.org/2004/07/V6.models.Entegrasyon.Operasyonlar.CoupaEntegrasyon.Models.ResultModels"> <d2p1:ItemResultModelOfOrderModelYWqhRaIg> <d2p1:ErrorMessage>sample string 2</d2p1:ErrorMessage> <d2p1:IsSuccessfull>true</d2p1:IsSuccessfull> <d2p1:Item xmlns:d4p1="http://schemas.datacontract.org/2004/07/V6.models.Entegrasyon.Operasyonlar.CoupaEntegrasyon.Models.PurchaseOrder"> <d4p1:Action>sample string 1</d4p1:Action> <d4p1:ChartOfAccountName>sample string 5</d4p1:ChartOfAccountName> <d4p1:CurrencyCode>sample string 4</d4p1:CurrencyCode> <d4p1:Details> <d4p1:OrderDetailModel> <d4p1:AccountSegment1>sample string 10</d4p1:AccountSegment1> <d4p1:AccountSegment2>sample string 11</d4p1:AccountSegment2> <d4p1:AccountSegment3>sample string 12</d4p1:AccountSegment3> <d4p1:AccountSegment4>sample string 13</d4p1:AccountSegment4> <d4p1:AccountSegment5>sample string 14</d4p1:AccountSegment5> <d4p1:AccountSegment6>sample string 15</d4p1:AccountSegment6> <d4p1:AccountSegment7>sample string 16</d4p1:AccountSegment7> <d4p1:AccountSegment8>sample string 17</d4p1:AccountSegment8> <d4p1:AccountSegment9>sample string 18</d4p1:AccountSegment9> <d4p1:Action>sample string 1</d4p1:Action> <d4p1:CommodityName>sample string 9</d4p1:CommodityName> <d4p1:ErpReferenceCode>sample string 4</d4p1:ErpReferenceCode> <d4p1:LineNumber>3</d4p1:LineNumber> <d4p1:Price>7</d4p1:Price> <d4p1:Quantity>6</d4p1:Quantity> <d4p1:RecordIdentifier>7833d9ea-64f7-4947-9f95-601bbfbd14a9</d4p1:RecordIdentifier> <d4p1:SupplierPartNumber>sample string 5</d4p1:SupplierPartNumber> <d4p1:UOMCode>sample string 8</d4p1:UOMCode> </d4p1:OrderDetailModel> <d4p1:OrderDetailModel> <d4p1:AccountSegment1>sample string 10</d4p1:AccountSegment1> <d4p1:AccountSegment2>sample string 11</d4p1:AccountSegment2> <d4p1:AccountSegment3>sample string 12</d4p1:AccountSegment3> <d4p1:AccountSegment4>sample string 13</d4p1:AccountSegment4> <d4p1:AccountSegment5>sample string 14</d4p1:AccountSegment5> <d4p1:AccountSegment6>sample string 15</d4p1:AccountSegment6> <d4p1:AccountSegment7>sample string 16</d4p1:AccountSegment7> <d4p1:AccountSegment8>sample string 17</d4p1:AccountSegment8> <d4p1:AccountSegment9>sample string 18</d4p1:AccountSegment9> <d4p1:Action>sample string 1</d4p1:Action> <d4p1:CommodityName>sample string 9</d4p1:CommodityName> <d4p1:ErpReferenceCode>sample string 4</d4p1:ErpReferenceCode> <d4p1:LineNumber>3</d4p1:LineNumber> <d4p1:Price>7</d4p1:Price> <d4p1:Quantity>6</d4p1:Quantity> <d4p1:RecordIdentifier>7833d9ea-64f7-4947-9f95-601bbfbd14a9</d4p1:RecordIdentifier> <d4p1:SupplierPartNumber>sample string 5</d4p1:SupplierPartNumber> <d4p1:UOMCode>sample string 8</d4p1:UOMCode> </d4p1:OrderDetailModel> </d4p1:Details> <d4p1:PONumber>sample string 2</d4p1:PONumber> <d4p1:ShipToAttention>sample string 6</d4p1:ShipToAttention> <d4p1:ShipToCity>sample string 9</d4p1:ShipToCity> <d4p1:ShipToEmployeeNumber>sample string 11</d4p1:ShipToEmployeeNumber> <d4p1:ShipToPostalCode>sample string 10</d4p1:ShipToPostalCode> <d4p1:ShipToStreet1>sample string 7</d4p1:ShipToStreet1> <d4p1:ShipToStreet2>sample string 8</d4p1:ShipToStreet2> <d4p1:SupplierNumber>sample string 3</d4p1:SupplierNumber> </d2p1:Item> </d2p1:ItemResultModelOfOrderModelYWqhRaIg> <d2p1:ItemResultModelOfOrderModelYWqhRaIg> <d2p1:ErrorMessage>sample string 2</d2p1:ErrorMessage> <d2p1:IsSuccessfull>true</d2p1:IsSuccessfull> <d2p1:Item xmlns:d4p1="http://schemas.datacontract.org/2004/07/V6.models.Entegrasyon.Operasyonlar.CoupaEntegrasyon.Models.PurchaseOrder"> <d4p1:Action>sample string 1</d4p1:Action> <d4p1:ChartOfAccountName>sample string 5</d4p1:ChartOfAccountName> <d4p1:CurrencyCode>sample string 4</d4p1:CurrencyCode> <d4p1:Details> <d4p1:OrderDetailModel> <d4p1:AccountSegment1>sample string 10</d4p1:AccountSegment1> <d4p1:AccountSegment2>sample string 11</d4p1:AccountSegment2> <d4p1:AccountSegment3>sample string 12</d4p1:AccountSegment3> <d4p1:AccountSegment4>sample string 13</d4p1:AccountSegment4> <d4p1:AccountSegment5>sample string 14</d4p1:AccountSegment5> <d4p1:AccountSegment6>sample string 15</d4p1:AccountSegment6> <d4p1:AccountSegment7>sample string 16</d4p1:AccountSegment7> <d4p1:AccountSegment8>sample string 17</d4p1:AccountSegment8> <d4p1:AccountSegment9>sample string 18</d4p1:AccountSegment9> <d4p1:Action>sample string 1</d4p1:Action> <d4p1:CommodityName>sample string 9</d4p1:CommodityName> <d4p1:ErpReferenceCode>sample string 4</d4p1:ErpReferenceCode> <d4p1:LineNumber>3</d4p1:LineNumber> <d4p1:Price>7</d4p1:Price> <d4p1:Quantity>6</d4p1:Quantity> <d4p1:RecordIdentifier>7833d9ea-64f7-4947-9f95-601bbfbd14a9</d4p1:RecordIdentifier> <d4p1:SupplierPartNumber>sample string 5</d4p1:SupplierPartNumber> <d4p1:UOMCode>sample string 8</d4p1:UOMCode> </d4p1:OrderDetailModel> <d4p1:OrderDetailModel> <d4p1:AccountSegment1>sample string 10</d4p1:AccountSegment1> <d4p1:AccountSegment2>sample string 11</d4p1:AccountSegment2> <d4p1:AccountSegment3>sample string 12</d4p1:AccountSegment3> <d4p1:AccountSegment4>sample string 13</d4p1:AccountSegment4> <d4p1:AccountSegment5>sample string 14</d4p1:AccountSegment5> <d4p1:AccountSegment6>sample string 15</d4p1:AccountSegment6> <d4p1:AccountSegment7>sample string 16</d4p1:AccountSegment7> <d4p1:AccountSegment8>sample string 17</d4p1:AccountSegment8> <d4p1:AccountSegment9>sample string 18</d4p1:AccountSegment9> <d4p1:Action>sample string 1</d4p1:Action> <d4p1:CommodityName>sample string 9</d4p1:CommodityName> <d4p1:ErpReferenceCode>sample string 4</d4p1:ErpReferenceCode> <d4p1:LineNumber>3</d4p1:LineNumber> <d4p1:Price>7</d4p1:Price> <d4p1:Quantity>6</d4p1:Quantity> <d4p1:RecordIdentifier>7833d9ea-64f7-4947-9f95-601bbfbd14a9</d4p1:RecordIdentifier> <d4p1:SupplierPartNumber>sample string 5</d4p1:SupplierPartNumber> <d4p1:UOMCode>sample string 8</d4p1:UOMCode> </d4p1:OrderDetailModel> </d4p1:Details> <d4p1:PONumber>sample string 2</d4p1:PONumber> <d4p1:ShipToAttention>sample string 6</d4p1:ShipToAttention> <d4p1:ShipToCity>sample string 9</d4p1:ShipToCity> <d4p1:ShipToEmployeeNumber>sample string 11</d4p1:ShipToEmployeeNumber> <d4p1:ShipToPostalCode>sample string 10</d4p1:ShipToPostalCode> <d4p1:ShipToStreet1>sample string 7</d4p1:ShipToStreet1> <d4p1:ShipToStreet2>sample string 8</d4p1:ShipToStreet2> <d4p1:SupplierNumber>sample string 3</d4p1:SupplierNumber> </d2p1:Item> </d2p1:ItemResultModelOfOrderModelYWqhRaIg> </ItemResults> </ResultModelOfOrderModelYWqhRaIg>