Subversion Repositories SmartDukaan

Rev

Rev 3137 | Rev 3206 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3137 Rev 3168
Line 32... Line 32...
32
 
32
 
33
struct Ticket {
33
struct Ticket {
34
    1:i64 id,
34
    1:i64 id,
35
    2:i64 customerId,
35
    2:i64 customerId,
36
    3:i64 openDate,
36
    3:i64 openDate,
37
    4:i64 closeDate,
37
    4:optional i64 closeDate,
38
    5:string description,
38
    5:string description,
39
    6:TicketPriority priority,
39
    6:TicketPriority priority,
40
    7:TicketCategory category,
40
    7:TicketCategory category,
41
    8:TicketStatus status,
41
    8:TicketStatus status,
42
    9:i64 assigneeId
42
    9:optional i64 assigneeId
43
    10:i64 creatorId,
43
    10:i64 creatorId,
44
    11:i64 orderId,
44
    11:optional i64 orderId,
45
    12:string airwayBillNo,
45
    12:optional string airwayBillNo,
46
    13:string productName
46
    13:optional string productName
47
}
47
}
48
 
48
 
49
struct Activity {
49
struct Activity {
50
    1:i64 id,
50
    1:i64 id,
51
    2:string description,
51
    2:optional string description,
52
    3:i64 creationTimestamp, // represents time at which this activity occurred
52
    3:i64 creationTimestamp, // represents time at which this activity occurred
53
    4:ActivityType type,
53
    4:ActivityType type,
54
    5:i64 customerId,
54
    5:i64 customerId,
55
    6:i64 creatorId,
55
    6:i64 creatorId,
56
 
56
 
57
    // ticket related fields to track changes on ticket fields
57
    // ticket related fields to track changes on ticket fields
58
    7:i64 ticketId,
58
    7:optional i64 ticketId,
59
    8:TicketPriority ticketPriority,
59
    8:optional TicketPriority ticketPriority,
60
    9:i64 ticketAssigneeId,
60
    9:optional i64 ticketAssigneeId,
61
   10:TicketStatus ticketStatus,
61
   10:optional TicketStatus ticketStatus,
62
   11:TicketCategory ticketCategory,
62
   11:optional TicketCategory ticketCategory,
63
   12:string ticketDescription
63
   12:optional string ticketDescription
64
}
64
}
65
 
65
 
66
struct Agent {
66
struct Agent {
67
    1:i64 id,
67
    1:i64 id,
68
    2:string name,
68
    2:string name,
69
    3:string emailId,
69
    3:string emailId,
70
    4:i64 managerId,
70
    4:optional i64 managerId,
71
    5:string password
71
    5:string password
72
}
72
}
73
 
73
 
74
service CRMService {
74
service CRMService {
75
    // Methods to read/write tickets from/in database
75
    // Methods to read/write tickets from/in database