POST api/MobileApi/SubmitPickupsAndContainers
Request Information
URI Parameters
None.
Body Parameters
MobilePickupAndConatainerModelName | Description | Type | Additional information |
---|---|---|---|
pickups | Collection of PickupsWebModel |
None. |
|
Containers | Collection of ContainerOrdersWebModel |
None. |
|
UserEmail | string |
Required |
|
UserName | string |
Required |
|
UserId | integer |
Required |
|
ClientId | string |
Required |
|
Token | string |
Required |
|
ServerName | string |
Required |
|
LastUpdatedTime | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "pickups": [ { "Id": 1, "CollectnId": 2, "PickupBoxes": 1, "TimeRange": "sample string 3", "PickupDate": "2025-04-03T23:53:22.2260044+01:00", "PickupDateStr": "sample string 4", "Notes": "sample string 5", "Address1": "sample string 6", "Address2": "sample string 7", "Address3": "sample string 8", "Town": "sample string 9", "Country": "sample string 10", "PostCode": "sample string 11", "County": "sample string 12", "CreationDate": "2025-04-03T23:53:22.2260044+01:00", "CreationDateStr": "sample string 13", "ChemgenieNo": "sample string 14", "ChemportalNo": "sample string 15", "CreatedBy": "sample string 16", "Client": "sample string 17", "CouriertId": 18, "Office": "sample string 19", "UserId": 20, "SiteFullName1": "sample string 21", "SiteFullName2": "sample string 22", "SitePhone1": "sample string 23", "SitePhone2": "sample string 24", "IsChemginie": true }, { "Id": 1, "CollectnId": 2, "PickupBoxes": 1, "TimeRange": "sample string 3", "PickupDate": "2025-04-03T23:53:22.2260044+01:00", "PickupDateStr": "sample string 4", "Notes": "sample string 5", "Address1": "sample string 6", "Address2": "sample string 7", "Address3": "sample string 8", "Town": "sample string 9", "Country": "sample string 10", "PostCode": "sample string 11", "County": "sample string 12", "CreationDate": "2025-04-03T23:53:22.2260044+01:00", "CreationDateStr": "sample string 13", "ChemgenieNo": "sample string 14", "ChemportalNo": "sample string 15", "CreatedBy": "sample string 16", "Client": "sample string 17", "CouriertId": 18, "Office": "sample string 19", "UserId": 20, "SiteFullName1": "sample string 21", "SiteFullName2": "sample string 22", "SitePhone1": "sample string 23", "SitePhone2": "sample string 24", "IsChemginie": true } ], "Containers": [ { "Id": 1, "CrequestId": 2, "ContainerIds": "sample string 3", "ContainersCount": "sample string 4", "Descriptions": "sample string 5", "RedBoxes": 1, "Coolboxes": 1, "NeedDate": "2025-04-03T23:53:22.2260044+01:00", "BarcodeLabels": true, "NeedDateStr": "sample string 7", "Address1": "sample string 8", "Address2": "sample string 9", "Address3": "sample string 10", "Town": "sample string 11", "Country": "sample string 12", "PostCode": "sample string 13", "CreationDate": "2025-04-03T23:53:22.2260044+01:00", "CreationDateStr": "sample string 14", "ChemgenieNo": "sample string 15", "ChemportalNo": "sample string 16", "CreatedBy": "sample string 17", "Client": "sample string 18", "Office": "sample string 19", "UserId": 20, "Courier": "sample string 21", "Container": "sample string 22", "Quantity": 23, "TimeRange": "sample string 24", "County": "sample string 25", "IsChemginie": true, "Comment": "sample string 27", "FullName": "sample string 28", "PhoneNumber": "sample string 29" }, { "Id": 1, "CrequestId": 2, "ContainerIds": "sample string 3", "ContainersCount": "sample string 4", "Descriptions": "sample string 5", "RedBoxes": 1, "Coolboxes": 1, "NeedDate": "2025-04-03T23:53:22.2260044+01:00", "BarcodeLabels": true, "NeedDateStr": "sample string 7", "Address1": "sample string 8", "Address2": "sample string 9", "Address3": "sample string 10", "Town": "sample string 11", "Country": "sample string 12", "PostCode": "sample string 13", "CreationDate": "2025-04-03T23:53:22.2260044+01:00", "CreationDateStr": "sample string 14", "ChemgenieNo": "sample string 15", "ChemportalNo": "sample string 16", "CreatedBy": "sample string 17", "Client": "sample string 18", "Office": "sample string 19", "UserId": 20, "Courier": "sample string 21", "Container": "sample string 22", "Quantity": 23, "TimeRange": "sample string 24", "County": "sample string 25", "IsChemginie": true, "Comment": "sample string 27", "FullName": "sample string 28", "PhoneNumber": "sample string 29" } ], "UserEmail": "sample string 1", "UserName": "sample string 2", "UserId": 1, "ClientId": "sample string 3", "Token": "sample string 4", "ServerName": "sample string 5", "LastUpdatedTime": 6 }
application/xml, text/xml
Sample:
<MobilePickupAndConatainerModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Chemtest.EntityModel.Models"> <ClientId>sample string 3</ClientId> <LastUpdatedTime>6</LastUpdatedTime> <ServerName>sample string 5</ServerName> <Token>sample string 4</Token> <UserId>1</UserId> <Containers> <ContainerOrdersWebModel> <Address1>sample string 8</Address1> <Address2>sample string 9</Address2> <Address3>sample string 10</Address3> <BarcodeLabels>true</BarcodeLabels> <ChemgenieNo>sample string 15</ChemgenieNo> <ChemportalNo>sample string 16</ChemportalNo> <Client>sample string 18</Client> <Comment>sample string 27</Comment> <Container>sample string 22</Container> <ContainerIds>sample string 3</ContainerIds> <ContainersCount>sample string 4</ContainersCount> <Coolboxes>1</Coolboxes> <Country>sample string 12</Country> <County>sample string 25</County> <Courier>sample string 21</Courier> <CreatedBy>sample string 17</CreatedBy> <CreationDate>2025-04-03T23:53:22.2260044+01:00</CreationDate> <CreationDateStr>sample string 14</CreationDateStr> <CrequestId>2</CrequestId> <Descriptions>sample string 5</Descriptions> <FullName>sample string 28</FullName> <Id>1</Id> <IsChemginie>true</IsChemginie> <NeedDate>2025-04-03T23:53:22.2260044+01:00</NeedDate> <NeedDateStr>sample string 7</NeedDateStr> <Office>sample string 19</Office> <PhoneNumber>sample string 29</PhoneNumber> <PostCode>sample string 13</PostCode> <Quantity>23</Quantity> <RedBoxes>1</RedBoxes> <TimeRange>sample string 24</TimeRange> <Town>sample string 11</Town> <UserId>20</UserId> </ContainerOrdersWebModel> <ContainerOrdersWebModel> <Address1>sample string 8</Address1> <Address2>sample string 9</Address2> <Address3>sample string 10</Address3> <BarcodeLabels>true</BarcodeLabels> <ChemgenieNo>sample string 15</ChemgenieNo> <ChemportalNo>sample string 16</ChemportalNo> <Client>sample string 18</Client> <Comment>sample string 27</Comment> <Container>sample string 22</Container> <ContainerIds>sample string 3</ContainerIds> <ContainersCount>sample string 4</ContainersCount> <Coolboxes>1</Coolboxes> <Country>sample string 12</Country> <County>sample string 25</County> <Courier>sample string 21</Courier> <CreatedBy>sample string 17</CreatedBy> <CreationDate>2025-04-03T23:53:22.2260044+01:00</CreationDate> <CreationDateStr>sample string 14</CreationDateStr> <CrequestId>2</CrequestId> <Descriptions>sample string 5</Descriptions> <FullName>sample string 28</FullName> <Id>1</Id> <IsChemginie>true</IsChemginie> <NeedDate>2025-04-03T23:53:22.2260044+01:00</NeedDate> <NeedDateStr>sample string 7</NeedDateStr> <Office>sample string 19</Office> <PhoneNumber>sample string 29</PhoneNumber> <PostCode>sample string 13</PostCode> <Quantity>23</Quantity> <RedBoxes>1</RedBoxes> <TimeRange>sample string 24</TimeRange> <Town>sample string 11</Town> <UserId>20</UserId> </ContainerOrdersWebModel> </Containers> <UserEmail>sample string 1</UserEmail> <UserName>sample string 2</UserName> <pickups> <PickupsWebModel> <Address1>sample string 6</Address1> <Address2>sample string 7</Address2> <Address3>sample string 8</Address3> <ChemgenieNo>sample string 14</ChemgenieNo> <ChemportalNo>sample string 15</ChemportalNo> <Client>sample string 17</Client> <CollectnId>2</CollectnId> <Country>sample string 10</Country> <County>sample string 12</County> <CouriertId>18</CouriertId> <CreatedBy>sample string 16</CreatedBy> <CreationDate>2025-04-03T23:53:22.2260044+01:00</CreationDate> <CreationDateStr>sample string 13</CreationDateStr> <Id>1</Id> <IsChemginie>true</IsChemginie> <Notes>sample string 5</Notes> <Office>sample string 19</Office> <PickupBoxes>1</PickupBoxes> <PickupDate>2025-04-03T23:53:22.2260044+01:00</PickupDate> <PickupDateStr>sample string 4</PickupDateStr> <PostCode>sample string 11</PostCode> <SiteFullName1>sample string 21</SiteFullName1> <SiteFullName2>sample string 22</SiteFullName2> <SitePhone1>sample string 23</SitePhone1> <SitePhone2>sample string 24</SitePhone2> <TimeRange>sample string 3</TimeRange> <Town>sample string 9</Town> <UserId>20</UserId> </PickupsWebModel> <PickupsWebModel> <Address1>sample string 6</Address1> <Address2>sample string 7</Address2> <Address3>sample string 8</Address3> <ChemgenieNo>sample string 14</ChemgenieNo> <ChemportalNo>sample string 15</ChemportalNo> <Client>sample string 17</Client> <CollectnId>2</CollectnId> <Country>sample string 10</Country> <County>sample string 12</County> <CouriertId>18</CouriertId> <CreatedBy>sample string 16</CreatedBy> <CreationDate>2025-04-03T23:53:22.2260044+01:00</CreationDate> <CreationDateStr>sample string 13</CreationDateStr> <Id>1</Id> <IsChemginie>true</IsChemginie> <Notes>sample string 5</Notes> <Office>sample string 19</Office> <PickupBoxes>1</PickupBoxes> <PickupDate>2025-04-03T23:53:22.2260044+01:00</PickupDate> <PickupDateStr>sample string 4</PickupDateStr> <PostCode>sample string 11</PostCode> <SiteFullName1>sample string 21</SiteFullName1> <SiteFullName2>sample string 22</SiteFullName2> <SitePhone1>sample string 23</SitePhone1> <SitePhone2>sample string 24</SitePhone2> <TimeRange>sample string 3</TimeRange> <Town>sample string 9</Town> <UserId>20</UserId> </PickupsWebModel> </pickups> </MobilePickupAndConatainerModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResponseOfMobilePickupAndConatainerResponseModelName | Description | Type | Additional information |
---|---|---|---|
statusCode | string |
None. |
|
responseData | MobilePickupAndConatainerResponseModel |
None. |
|
status | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "statusCode": "sample string 1", "responseData": { "pickups": [ { "Id": "sample string 1", "IsSuccess": true }, { "Id": "sample string 1", "IsSuccess": true } ], "Containers": [ { "Id": "sample string 1", "IsSuccess": true }, { "Id": "sample string 1", "IsSuccess": true } ] }, "status": "sample string 2" }
application/xml, text/xml
Sample:
<ResponseOfMobilePickupAndConatainerResponseModel_SABevsiO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Chemtest.EntityModel.Models"> <responseData> <Containers> <SuccessModel> <Id>sample string 1</Id> <IsSuccess>true</IsSuccess> </SuccessModel> <SuccessModel> <Id>sample string 1</Id> <IsSuccess>true</IsSuccess> </SuccessModel> </Containers> <pickups> <SuccessModel> <Id>sample string 1</Id> <IsSuccess>true</IsSuccess> </SuccessModel> <SuccessModel> <Id>sample string 1</Id> <IsSuccess>true</IsSuccess> </SuccessModel> </pickups> </responseData> <status>sample string 2</status> <statusCode>sample string 1</statusCode> </ResponseOfMobilePickupAndConatainerResponseModel_SABevsiO>