INSERT ORDER (/api/Order)

RepID: Unique ID of Sales Rep (1355 is an ID for a test account)
RepIDEnteredBy: Unique ID of Sales Rep who entered order. (Rarely Used pass in a zero)
Sport: Sport (This is for sport specific orders pass in 0)
Gender: Gender (This is for gender specific orders pass in 0)
Client: Name of Client (School, University, Individual, etc...)
TeamName: Name of team placing order (This is not necessary and for more descriptive orders, you can leave value blank)
HowDidTheyHearAboutProLook: How did they hear about Pro Look Sports (You most likely wont have an answer for this so website or builder will do depending on application they are using)
						{
							"RepID": 1355,
							"RepIDEnteredBy": 0,
							"Sport": "All",
							"Gender": 0,
							"Client": "University of Arizona",
							"TeamName": "Wildcats",
							"HowDidTheyHearAboutProLook": "google search"
						}
					

INSERT PART (/api/OrderPart)

OID: Unique ID of Order (Passed back when you insert an order)
ItemID: Unique ID of Item (Exampe Item ID 455 is for Arizona 08 Jersey (M))
Description:Description rep uses to identify part (Example White Jersey. Suggested would be Base Color and Type ())
						[
						  {
							"OID": 33000,
							"ItemID": 455,
							"Description": "White Home Jersey",                        
							"DesignSheet": "test.png"
						  }
						]
					

UPDATE QUESTIONS (/api/OrderQuestion)

OID: Unique ID of Order (Passed back when you insert an order)
PID: Unique ID of Order Part (Passed back when you insert an order part)
QuestionID: Unique ID of Question (16 is the Question ID for Base Material)
Value: Value to be saved for that question (An example of this would be Bionic, using the example of Base Material above )
						{
						  "PID": 54443,
						  "OrderQuestion": [
							{
							  "QuestionID": 16,
							  "Value": "Bionic"
							}
						  ]
						}
					

INSERT ORDER ITEM (/api/OrderItem)

OID: Unique ID of Order (Passed back when you insert an order)
PID: Unique ID of Order Part (Passed back when you insert an order part)
Tag: Tag of item (Used to identify shorts since a lot of the items look the same)
Size: Size of item
Number: Number on jersey
Name: Name of player to be put on application
Name2: Name of player to be put on application reversie side
Cut: Cut of item
Length: Length of item
Inseam: Inseam of item
LastNameApplication: Unique ID of Question (16 is the Question ID for Base Material)
HemStyle: Hem style of item
Sample: Is this item a sample (0=fale,1=true, you will most likely use a zero)
							[
							  {
								"OID": 33000,
								"PID": 54443,
								"Tag": "1",
								"Size": "22",
								"Number": "30",
								"Name": "Jordan",
								"Name2": "Jordan",
								"Cut": "Lineman Cut",
								"Inseam": "12",
								"Length": "+1",
								"LastNameApplication": "Directly to Jersey",
								"HemStyle": "Notched Sides ",
								"Sample": 0
							  }
							]
						

INSERT ORDER - Entire Order (/api/Order/PostOrderDetails)

							{
							  "order": {
								"RepID": 179,
								"RepIDEnteredBy": 179,
								"Sport": "All",
								"Gender": 0,
								"Client": "University of Arizona",
								"TeamName": "Wildcats",
								"HowDidTheyHearAboutProLook": "google search"
							  },
							  "orderParts": [
								{
								  "orderPart": {
									"ItemID": 455,
									"Description": "Arizona Jersey",                                                  
									"DesignSheet": "test.png"
								  },
								  "orderQuestions": {
									"OrderQuestion": [
									  {
										"QuestionID": 16,
										"Value": "Dazzle"
									  },
									  {
										"QuestionID": 14,
										"Value": "Blue"
									  },
									  {
										"QuestionID": 17,
										"Value": "Bionic"
									  },
									  {
										"QuestionID": 18,
										"Value": "Bionic"
									  },
									  {
										"QuestionID": 110,
										"Value": "Saffron"
									  },
									  {
										"QuestionID": 70,
										"Value": "Dazzle"
									  },
									  {
										"QuestionID": 62,
										"Value": "White"
									  }
									]
								  },
								  "orderItems": [
									{
									  "Size": "2XL",
									  "Number": "22",
									  "Name": "Lee",
									  "LastNameApplication": "Directly to Jersey",
									  "Sample": 0
									},
									{
									  "Size": "XL",
									  "Number": "21",
									  "Name": "Brown",
									  "LastNameApplication": "Directly to Jersey",
									  "Sample": 0
									},
									{
									  "Size": "M",
									  "Number": "12",
									  "Name": "Smith",
									  "LastNameApplication": "Directly to Jersey",
									  "Sample": 0
									},
									{
									  "Size": "M",
									  "Number": "9",
									  "Name": "Johnson",
									  "LastNameApplication": "Directly to Jersey",
									  "Sample": 0
									},
									{
									  "Size": "2XL",
									  "Number": "8",
									  "Name": "Frank",
									  "LastNameApplication": "Directly to Jersey",
									  "Sample": 0
									}
								  ]
								},{
								  "orderPart": {
									"ItemID": 436,
									"Description": "Hornets Jersey"
								  },
								  "orderQuestions": {
									"OrderQuestion": [
									  {
										"QuestionID": 16,
										"Value": "Pro Mesh"
									  },
									  {
										"QuestionID": 14,
										"Value": "Red"
									  },
									  {
										"QuestionID": 17,
										"Value": "Pro Mesh"
									  },
									  {
										"QuestionID": 18,
										"Value": "Pro Mesh"
									  },
									  {
										"QuestionID": 110,
										"Value": "Saffron"
									  },
									  {
										"QuestionID": 70,
										"Value": "Pro Mesh"
									  },
									  {
										"QuestionID": 62,
										"Value": "White"
									  }
									]
								  },
								  "orderItems": [
									{
									  "Size": "2XL",
									  "Number": "22",
									  "Name": "Lee",
									  "LastNameApplication": "Directly to Jersey",
									  "Sample": 0
									},
									{
									  "Size": "XL",
									  "Number": "21",
									  "Name": "Brown",
									  "LastNameApplication": "Directly to Jersey",
									  "Sample": 0
									},
									{
									  "Size": "M",
									  "Number": "12",
									  "Name": "Smith",
									  "LastNameApplication": "Directly to Jersey",
									  "Sample": 0
									}
								  ]
								},{
								  "orderPart": {
									"ItemID": 650,
									"Description": "Kentucky Shorts"
								  },
								  "orderQuestions": {
									"OrderQuestion": [
									  {
										"QuestionID": 16,
										"Value": "Dazzle"
									  },
									  {
										"QuestionID": 14,
										"Value": "Blue"
									  },
									  {
										"QuestionID": 110,
										"Value": "Saffron"
									  }
									]
								  },
								  "orderItems": [
									{
									  "Size": "L",
									  "Sample": 0
									},
								{
									  "Size": "L",
									  "Sample": 0
									},
								{
									  "Size": "XL",
									  "Sample": 0
									},
								{
									  "Size": "2XL",
									  "Sample": 0
									}
								  ]
								},{
								  "orderPart": {
									"ItemID": 591,
									"Description": "UNLV Jersey"
								  },
								  "orderQuestions": {
									"OrderQuestion": [
									  {
										"QuestionID": 16,
										"Value": "Dazzle"
									  },
									  {
										"QuestionID": 14,
										"Value": "Green"
									  },
									  {
										"QuestionID": 17,
										"Value": "Bionic"
									  },
									  {
										"QuestionID": 18,
										"Value": "Dazzle"
									  },
									  {
										"QuestionID": 110,
										"Value": "Saffron"
									  },
									  {
										"QuestionID": 70,
										"Value": "Dazzle"
									  },
									  {
										"QuestionID": 62,
										"Value": "Yellow"
									  }
									]
								  },
								  "orderItems": [
									{
									  "Size": "2XL",
									  "Number": "22",
									  "Name": "Lee",
									  "LastNameApplication": "Directly to Jersey",
									  "Sample": 0
									},
									{
									  "Size": "XL",
									  "Number": "21",
									  "Name": "Brown",
									  "LastNameApplication": "Directly to Jersey",
									  "Sample": 0
									},
									{
									  "Size": "M",
									  "Number": "12",
									  "Name": "Smith",
									  "LastNameApplication": "Directly to Jersey",
									  "Sample": 0
									}
								  ]
								},{
								  "orderPart": {
									"ItemID": 2606,
									"Description": "Florida Short"
								  },
								  "orderQuestions": {
									"OrderQuestion": [
									  {
										"QuestionID": 16,
										"Value": "Dazzle"
									  },
									  {
										"QuestionID": 14,
										"Value": "Blue"
									  }
									]
								  },
								  "orderItems": [
									{
									  "Size": "L",
									  "Sample": 0
									},
								{
									  "Size": "L",
									  "Sample": 0
									},
								{
									  "Size": "XL",
									  "Sample": 0
									},
								{
									  "Size": "2XL",
									  "Sample": 0
									}
								  ]
								}
							  ]
							}