POST api/MobileApi/SavePickups
Request Information
URI Parameters
None.
Body Parameters
MobilePickupModelName | Description | Type | Additional information |
---|---|---|---|
pickup | PickupsWebModel |
Required |
|
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:
{ "pickup": { "Id": 1, "CollectnId": 2, "PickupBoxes": 1, "TimeRange": "sample string 3", "PickupDate": "2025-04-03T23:41:22.815953+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:41:22.815953+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 }, "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:
<MobilePickupModel 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> <UserEmail>sample string 1</UserEmail> <UserName>sample string 2</UserName> <pickup> <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:41:22.815953+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:41:22.815953+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> </pickup> </MobilePickupModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResponseOfStringName | Description | Type | Additional information |
---|---|---|---|
statusCode | string |
None. |
|
responseData | string |
None. |
|
status | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "statusCode": "sample string 1", "responseData": "sample string 2", "status": "sample string 3" }
application/xml, text/xml
Sample:
<ResponseOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Chemtest.EntityModel.Models"> <responseData>sample string 2</responseData> <status>sample string 3</status> <statusCode>sample string 1</statusCode> </ResponseOfstring>