Interface IDeliveryNotesAPI
Assembly: cs.temp.dll.dll
Syntax
public interface IDeliveryNotesAPI
Methods
AutoLogin(String, String, String, String, Nullable<Helpers.TextLanguagesEnum>)
Declaration
LoginData AutoLogin(string username, string autoLoginSeries, string autoLoginToken, string ApplicationCode, Helpers.TextLanguagesEnum? initialLanguage = default(Helpers.TextLanguagesEnum? ))
Parameters
| Type |
Name |
Description |
| System.String |
username |
|
| System.String |
autoLoginSeries |
|
| System.String |
autoLoginToken |
|
| System.String |
ApplicationCode |
|
| System.Nullable<Helpers.TextLanguagesEnum> |
initialLanguage |
|
Returns
| Type |
Description |
| LoginData |
|
AutoLoginApp(String, String, String, String, String, Nullable<Helpers.TextLanguagesEnum>)
Declaration
LoginData AutoLoginApp(string username, string autoLoginSeries, string autoLoginToken, string ApplicationCode, string clientIPAddress, Helpers.TextLanguagesEnum? initialLanguage = default(Helpers.TextLanguagesEnum? ))
Parameters
| Type |
Name |
Description |
| System.String |
username |
|
| System.String |
autoLoginSeries |
|
| System.String |
autoLoginToken |
|
| System.String |
ApplicationCode |
|
| System.String |
clientIPAddress |
|
| System.Nullable<Helpers.TextLanguagesEnum> |
initialLanguage |
|
Returns
| Type |
Description |
| LoginData |
|
CheckUserComponent(String, String, String)
Declaration
Auth.DomainPermissionAccessTypesEnum CheckUserComponent(string token, string applicationCode, string componentCode)
Parameters
| Type |
Name |
Description |
| System.String |
token |
|
| System.String |
applicationCode |
|
| System.String |
componentCode |
|
Returns
| Type |
Description |
| Agrifood.Cloud.FP.Service.V2.DataContracts.Auth.DomainPermissionAccessTypesEnum |
|
CheckUserComponentSession(String, String, String)
Declaration
CheckUserComponentSessionData CheckUserComponentSession(string token, string ApplicationCode, string componentCode)
Parameters
| Type |
Name |
Description |
| System.String |
token |
|
| System.String |
ApplicationCode |
|
| System.String |
componentCode |
|
Returns
| Type |
Description |
| CheckUserComponentSessionData |
|
CheckUserPermission(String, BLL.CASService.DomainpermissionCodesEnum, String, String)
Declaration
UserPermissionData CheckUserPermission(string token, BLL.CASService.DomainpermissionCodesEnum permissionCode, string ApplicationCode, string componentCode)
Parameters
| Type |
Name |
Description |
| System.String |
token |
|
| Agrifood.Cloud.FP.Service.BLL.CASService.DomainpermissionCodesEnum |
permissionCode |
|
| System.String |
ApplicationCode |
|
| System.String |
componentCode |
|
Returns
| Type |
Description |
| UserPermissionData |
|
CheckUserSession(String, String)
Declaration
CheckUserSessionData CheckUserSession(string token, string ApplicationCode)
Parameters
| Type |
Name |
Description |
| System.String |
token |
|
| System.String |
ApplicationCode |
|
Returns
| Type |
Description |
| CheckUserSessionData |
|
DeleteDeliveryNote(String, String, String)
Declaration
ServiceEnums.DataStatus DeleteDeliveryNote(string DeliveryNoteId, string token, string ApplicationCode)
Parameters
| Type |
Name |
Description |
| System.String |
DeliveryNoteId |
|
| System.String |
token |
|
| System.String |
ApplicationCode |
|
Returns
| Type |
Description |
| Agrifood.Cloud.FP.Service.V2.DataContracts.ServiceEnums.DataStatus |
|
DeleteDeliveryNoteDetail(String, String, String, String)
Declaration
ServiceEnums.DataStatus DeleteDeliveryNoteDetail(string DeliveryNoteId, string DeliveryNoteLine, string token, string ApplicationCode)
Parameters
| Type |
Name |
Description |
| System.String |
DeliveryNoteId |
|
| System.String |
DeliveryNoteLine |
|
| System.String |
token |
|
| System.String |
ApplicationCode |
|
Returns
| Type |
Description |
| Agrifood.Cloud.FP.Service.V2.DataContracts.ServiceEnums.DataStatus |
Status of deleted data
|
GetDeliveryNote(String, String, String)
Returns a Delivery Notes identified by DliveryNoteId
Declaration
DeliveryNotesContract GetDeliveryNote(string DeliveryNoteId, string token, string ApplicationCode)
Parameters
| Type |
Name |
Description |
| System.String |
DeliveryNoteId |
Delivery Note identificator
|
| System.String |
token |
|
| System.String |
ApplicationCode |
|
Returns
| Type |
Description |
| DeliveryNotesContract |
|
GetDeliveryNoteDetail(String, String, String, String)
Declaration
DeliveryNotesDetailsContract GetDeliveryNoteDetail(string DeliveryNoteId, string DeliveryNoteLine, string token, string ApplicationCode)
Parameters
| Type |
Name |
Description |
| System.String |
DeliveryNoteId |
|
| System.String |
DeliveryNoteLine |
|
| System.String |
token |
|
| System.String |
ApplicationCode |
|
Returns
| Type |
Description |
| DeliveryNotesDetailsContract |
|
GetDeliveryNoteDetails(String, String, String)
Declaration
List<DeliveryNotesDetailsContract> GetDeliveryNoteDetails(string DeliveryNoteId, string token, string ApplicationCode)
Parameters
| Type |
Name |
Description |
| System.String |
DeliveryNoteId |
|
| System.String |
token |
|
| System.String |
ApplicationCode |
|
Returns
| Type |
Description |
| System.Collections.Generic.List<DeliveryNotesDetailsContract> |
|
GetDeliveryNotes(String, String)
Returns a set of posted Delivery Notes
Declaration
List<DeliveryNotesContract> GetDeliveryNotes(string token, string ApplicationCode)
Parameters
| Type |
Name |
Description |
| System.String |
token |
Application token from login
|
| System.String |
ApplicationCode |
Application Codes
|
Returns
| Type |
Description |
| System.Collections.Generic.List<DeliveryNotesContract> |
List of Delivery Notes
|
GetUserComponents(String)
Declaration
List<string> GetUserComponents(string token)
Parameters
| Type |
Name |
Description |
| System.String |
token |
|
Returns
| Type |
Description |
| System.Collections.Generic.List<System.String> |
|
InsertDeliveryNote(DeliveryNotesContract, String, String)
Declaration
APIDeliveryNotesContract InsertDeliveryNote(DeliveryNotesContract DeliveryNote, string token, string ApplicationCode)
Parameters
| Type |
Name |
Description |
| DeliveryNotesContract |
DeliveryNote |
|
| System.String |
token |
|
| System.String |
ApplicationCode |
|
Returns
| Type |
Description |
| APIDeliveryNotesContract |
|
InsertDeliveryNoteDetails(List<DeliveryNotesDetailsContract>, String, String)
Declaration
APIDeliveryNotesDetailsContract InsertDeliveryNoteDetails(List<DeliveryNotesDetailsContract> DeliveryNoteDetails, string token, string ApplicationCode)
Parameters
| Type |
Name |
Description |
| System.Collections.Generic.List<DeliveryNotesDetailsContract> |
DeliveryNoteDetails |
|
| System.String |
token |
|
| System.String |
ApplicationCode |
|
Returns
| Type |
Description |
| APIDeliveryNotesDetailsContract |
|
Login(String, String, String, Nullable<Helpers.TextLanguagesEnum>, Boolean)
Declaration
LoginData Login(string username, string password, string ApplicationCode, Helpers.TextLanguagesEnum? initialLanguage = default(Helpers.TextLanguagesEnum? ), bool rememberMe = false)
Parameters
| Type |
Name |
Description |
| System.String |
username |
|
| System.String |
password |
|
| System.String |
ApplicationCode |
|
| System.Nullable<Helpers.TextLanguagesEnum> |
initialLanguage |
|
| System.Boolean |
rememberMe |
|
Returns
| Type |
Description |
| LoginData |
|
LoginApp(String, String, String, String, Nullable<Helpers.TextLanguagesEnum>, Boolean)
Declaration
LoginData LoginApp(string username, string password, string ApplicationCode, string clientIPAddress, Helpers.TextLanguagesEnum? initialLanguage = default(Helpers.TextLanguagesEnum? ), bool rememberMe = false)
Parameters
| Type |
Name |
Description |
| System.String |
username |
|
| System.String |
password |
|
| System.String |
ApplicationCode |
|
| System.String |
clientIPAddress |
|
| System.Nullable<Helpers.TextLanguagesEnum> |
initialLanguage |
|
| System.Boolean |
rememberMe |
|
Returns
| Type |
Description |
| LoginData |
|
Logout(String)
Declaration
LogoutData Logout(string token)
Parameters
| Type |
Name |
Description |
| System.String |
token |
|
Returns
| Type |
Description |
| LogoutData |
|
SetUserSessionLanguage(String, Helpers.TextLanguagesEnum)
Declaration
SetUserSessionLanguageData SetUserSessionLanguage(string token, Helpers.TextLanguagesEnum language)
Parameters
| Type |
Name |
Description |
| System.String |
token |
|
| Helpers.TextLanguagesEnum |
language |
|
Returns
| Type |
Description |
| SetUserSessionLanguageData |
|
UpdateDeliveryNote(DeliveryNotesContract, String, String)
Declaration
APIDeliveryNotesContract UpdateDeliveryNote(DeliveryNotesContract DeliveryNote, string token, string ApplicationCode)
Parameters
| Type |
Name |
Description |
| DeliveryNotesContract |
DeliveryNote |
|
| System.String |
token |
|
| System.String |
ApplicationCode |
|
Returns
| Type |
Description |
| APIDeliveryNotesContract |
|
UpdateDeliveryNoteDetail(DeliveryNotesDetailsContract, String, String)
Declaration
APIDeliveryNotesDetailsContract UpdateDeliveryNoteDetail(DeliveryNotesDetailsContract DeliveryNoteDetails, string token, string ApplicationCode)
Parameters
| Type |
Name |
Description |
| DeliveryNotesDetailsContract |
DeliveryNoteDetails |
|
| System.String |
token |
|
| System.String |
ApplicationCode |
|
Returns
| Type |
Description |
| APIDeliveryNotesDetailsContract |
|