POST api/Bridge/PostOrder
Request Information
URI Parameters
None.
Body Parameters
RootObjectBridgeName | Description | Type | Additional information |
---|---|---|---|
salesOrder | BridgeSalesOrder |
Required |
Request Formats
application/json, text/json
Sample:
{ "salesOrder": { "shippingAddressName": "sample string 1", "shippingAddressLine1": "sample string 2", "shippingAddressLine2": "sample string 3", "shippingCity": "sample string 4", "shippingState": "sample string 5", "shippingPostalCode": "sample string 6", "shippingMethod": "sample string 7", "billToAddressName": "sample string 8", "billToAddressLine1": "sample string 9", "billToAddressLine2": "sample string 10", "billToCity": "sample string 11", "billToState": "sample string 12", "billToPostalCode": "sample string 13", "orderAmount": 14.1, "salesTaxAmount": 15.1, "freightAmount": 16.1, "orderType": "sample string 17", "vpSalesOrderNum": 18, "petOwner": { "firstName": "sample string 1", "lastName": "sample string 2", "email": "sample string 3", "phoneNumber": "sample string 4", "addressName": "sample string 5", "address1": "sample string 6", "address2": "sample string 7", "city": "sample string 8", "state": "sample string 9", "postalCode": "sample string 10", "vpPetOwnerID": "sample string 11", "pkPetOwnerID": "sample string 12" }, "salesOrderLine": [ { "lineNumber": 1, "itemId": "sample string 2", "flavorKey": "sample string 3", "ItemName": "sample string 4", "PackSize": 5.0, "Strength": "sample string 6", "RefrigInd": true, "DryIceInd": true, "Sterile": true, "price": 10.1, "quantity": 11, "extAmount": 12.1, "salesTaxAmount": 13.1, "PatientsQty": 14, "QtyPrescribed": 15, "Legal": 16, "prescriber": { "firstName": "sample string 1", "lastName": "sample string 2", "sln": "sample string 3", "slnStateID": "sample string 4", "dea": "sample string 5", "deaStateId": "sample string 6", "email": "sample string 7", "phoneNumber": "sample string 8", "addressName": "sample string 9", "address1": "sample string 10", "address2": "sample string 11", "city": "sample string 12", "state": "sample string 13", "postalCode": "sample string 14", "vpDoctorID": "sample string 15", "pkDoctorID": "sample string 16" }, "pet": { "petName": "sample string 1", "species": "sample string 2", "birthDate": "sample string 3", "sex": "sample string 4", "deceased": true, "otherMedications": "sample string 6", "notes": "sample string 7", "vpPatientID": "sample string 8" }, "rx": { "prescriptionDate": "sample string 1", "expirationDate": "sample string 2", "quantity": 3, "refills": 4, "original_sig": "sample string 5", "pharmacist_sig": "sample string 6", "RxApprovedBy": "sample string 7", "RPH_ID": 8, "notes": "sample string 9", "daySupply": 10, "vpRecordID": "sample string 11", "vpOrderID": "sample string 12" } }, { "lineNumber": 1, "itemId": "sample string 2", "flavorKey": "sample string 3", "ItemName": "sample string 4", "PackSize": 5.0, "Strength": "sample string 6", "RefrigInd": true, "DryIceInd": true, "Sterile": true, "price": 10.1, "quantity": 11, "extAmount": 12.1, "salesTaxAmount": 13.1, "PatientsQty": 14, "QtyPrescribed": 15, "Legal": 16, "prescriber": { "firstName": "sample string 1", "lastName": "sample string 2", "sln": "sample string 3", "slnStateID": "sample string 4", "dea": "sample string 5", "deaStateId": "sample string 6", "email": "sample string 7", "phoneNumber": "sample string 8", "addressName": "sample string 9", "address1": "sample string 10", "address2": "sample string 11", "city": "sample string 12", "state": "sample string 13", "postalCode": "sample string 14", "vpDoctorID": "sample string 15", "pkDoctorID": "sample string 16" }, "pet": { "petName": "sample string 1", "species": "sample string 2", "birthDate": "sample string 3", "sex": "sample string 4", "deceased": true, "otherMedications": "sample string 6", "notes": "sample string 7", "vpPatientID": "sample string 8" }, "rx": { "prescriptionDate": "sample string 1", "expirationDate": "sample string 2", "quantity": 3, "refills": 4, "original_sig": "sample string 5", "pharmacist_sig": "sample string 6", "RxApprovedBy": "sample string 7", "RPH_ID": 8, "notes": "sample string 9", "daySupply": 10, "vpRecordID": "sample string 11", "vpOrderID": "sample string 12" } } ] } }
application/xml, text/xml
Sample:
<RootObjectBridge xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WedgewoodAPI.Models"> <salesOrder> <billToAddressLine1>sample string 9</billToAddressLine1> <billToAddressLine2>sample string 10</billToAddressLine2> <billToAddressName>sample string 8</billToAddressName> <billToCity>sample string 11</billToCity> <billToPostalCode>sample string 13</billToPostalCode> <billToState>sample string 12</billToState> <freightAmount>16.1</freightAmount> <orderAmount>14.1</orderAmount> <orderType>sample string 17</orderType> <petOwner> <address1>sample string 6</address1> <address2>sample string 7</address2> <addressName>sample string 5</addressName> <city>sample string 8</city> <email>sample string 3</email> <firstName>sample string 1</firstName> <lastName>sample string 2</lastName> <phoneNumber>sample string 4</phoneNumber> <pkPetOwnerID>sample string 12</pkPetOwnerID> <postalCode>sample string 10</postalCode> <state>sample string 9</state> <vpPetOwnerID>sample string 11</vpPetOwnerID> </petOwner> <salesOrderLine> <BridgeSalesOrderLine> <DryIceInd>true</DryIceInd> <ItemName>sample string 4</ItemName> <Legal>16</Legal> <PackSize>5</PackSize> <PatientsQty>14</PatientsQty> <QtyPrescribed>15</QtyPrescribed> <RefrigInd>true</RefrigInd> <Sterile>true</Sterile> <Strength>sample string 6</Strength> <extAmount>12.1</extAmount> <flavorKey>sample string 3</flavorKey> <itemId>sample string 2</itemId> <lineNumber>1</lineNumber> <pet> <birthDate>sample string 3</birthDate> <deceased>true</deceased> <notes>sample string 7</notes> <otherMedications>sample string 6</otherMedications> <petName>sample string 1</petName> <sex>sample string 4</sex> <species>sample string 2</species> <vpPatientID>sample string 8</vpPatientID> </pet> <prescriber> <address1>sample string 10</address1> <address2>sample string 11</address2> <addressName>sample string 9</addressName> <city>sample string 12</city> <dea>sample string 5</dea> <deaStateId>sample string 6</deaStateId> <email>sample string 7</email> <firstName>sample string 1</firstName> <lastName>sample string 2</lastName> <phoneNumber>sample string 8</phoneNumber> <pkDoctorID>sample string 16</pkDoctorID> <postalCode>sample string 14</postalCode> <sln>sample string 3</sln> <slnStateID>sample string 4</slnStateID> <state>sample string 13</state> <vpDoctorID>sample string 15</vpDoctorID> </prescriber> <price>10.1</price> <quantity>11</quantity> <rx> <RPH_ID>8</RPH_ID> <RxApprovedBy>sample string 7</RxApprovedBy> <daySupply>10</daySupply> <expirationDate>sample string 2</expirationDate> <notes>sample string 9</notes> <original_sig>sample string 5</original_sig> <pharmacist_sig>sample string 6</pharmacist_sig> <prescriptionDate>sample string 1</prescriptionDate> <quantity>3</quantity> <refills>4</refills> <vpOrderID>sample string 12</vpOrderID> <vpRecordID>sample string 11</vpRecordID> </rx> <salesTaxAmount>13.1</salesTaxAmount> </BridgeSalesOrderLine> <BridgeSalesOrderLine> <DryIceInd>true</DryIceInd> <ItemName>sample string 4</ItemName> <Legal>16</Legal> <PackSize>5</PackSize> <PatientsQty>14</PatientsQty> <QtyPrescribed>15</QtyPrescribed> <RefrigInd>true</RefrigInd> <Sterile>true</Sterile> <Strength>sample string 6</Strength> <extAmount>12.1</extAmount> <flavorKey>sample string 3</flavorKey> <itemId>sample string 2</itemId> <lineNumber>1</lineNumber> <pet> <birthDate>sample string 3</birthDate> <deceased>true</deceased> <notes>sample string 7</notes> <otherMedications>sample string 6</otherMedications> <petName>sample string 1</petName> <sex>sample string 4</sex> <species>sample string 2</species> <vpPatientID>sample string 8</vpPatientID> </pet> <prescriber> <address1>sample string 10</address1> <address2>sample string 11</address2> <addressName>sample string 9</addressName> <city>sample string 12</city> <dea>sample string 5</dea> <deaStateId>sample string 6</deaStateId> <email>sample string 7</email> <firstName>sample string 1</firstName> <lastName>sample string 2</lastName> <phoneNumber>sample string 8</phoneNumber> <pkDoctorID>sample string 16</pkDoctorID> <postalCode>sample string 14</postalCode> <sln>sample string 3</sln> <slnStateID>sample string 4</slnStateID> <state>sample string 13</state> <vpDoctorID>sample string 15</vpDoctorID> </prescriber> <price>10.1</price> <quantity>11</quantity> <rx> <RPH_ID>8</RPH_ID> <RxApprovedBy>sample string 7</RxApprovedBy> <daySupply>10</daySupply> <expirationDate>sample string 2</expirationDate> <notes>sample string 9</notes> <original_sig>sample string 5</original_sig> <pharmacist_sig>sample string 6</pharmacist_sig> <prescriptionDate>sample string 1</prescriptionDate> <quantity>3</quantity> <refills>4</refills> <vpOrderID>sample string 12</vpOrderID> <vpRecordID>sample string 11</vpRecordID> </rx> <salesTaxAmount>13.1</salesTaxAmount> </BridgeSalesOrderLine> </salesOrderLine> <salesTaxAmount>15.1</salesTaxAmount> <shippingAddressLine1>sample string 2</shippingAddressLine1> <shippingAddressLine2>sample string 3</shippingAddressLine2> <shippingAddressName>sample string 1</shippingAddressName> <shippingCity>sample string 4</shippingCity> <shippingMethod>sample string 7</shippingMethod> <shippingPostalCode>sample string 6</shippingPostalCode> <shippingState>sample string 5</shippingState> <vpSalesOrderNum>18</vpSalesOrderNum> </salesOrder> </RootObjectBridge>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |