swagger.json 386 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750
  1. {
  2. "swagger": "2.0",
  3. "info": {
  4. "description": "新的查询服务,替代原通用查询服务。",
  5. "title": "MTP2.0 查询服务 API",
  6. "termsOfService": "http://muchinfo.cn",
  7. "contact": {},
  8. "version": "1.0"
  9. },
  10. "basePath": "/api",
  11. "paths": {
  12. "/CPTrade/QueryCPTradeMyBidInfos": {
  13. "get": {
  14. "security": [
  15. {
  16. "ApiKeyAuth": []
  17. }
  18. ],
  19. "produces": [
  20. "application/json"
  21. ],
  22. "tags": [
  23. "产能预售"
  24. ],
  25. "summary": "查询产能预售我的出价信息",
  26. "parameters": [
  27. {
  28. "type": "integer",
  29. "description": "资金账户",
  30. "name": "accountid",
  31. "in": "query",
  32. "required": true
  33. },
  34. {
  35. "type": "integer",
  36. "description": "预售市场ID",
  37. "name": "marketid",
  38. "in": "query"
  39. },
  40. {
  41. "type": "integer",
  42. "description": "预售商品ID",
  43. "name": "goodsid",
  44. "in": "query"
  45. }
  46. ],
  47. "responses": {
  48. "200": {
  49. "description": "OK",
  50. "schema": {
  51. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  52. }
  53. },
  54. "500": {
  55. "description": "Internal Server Error",
  56. "schema": {
  57. "$ref": "#/definitions/app.Response"
  58. }
  59. }
  60. }
  61. }
  62. },
  63. "/CPTrade/QueryCPTradeOrderDetail": {
  64. "get": {
  65. "security": [
  66. {
  67. "ApiKeyAuth": []
  68. }
  69. ],
  70. "produces": [
  71. "application/json"
  72. ],
  73. "tags": [
  74. "产能预售"
  75. ],
  76. "summary": "查询产能预售委托单信息",
  77. "parameters": [
  78. {
  79. "type": "integer",
  80. "description": "预售商品ID",
  81. "name": "goodsid",
  82. "in": "query"
  83. },
  84. {
  85. "type": "integer",
  86. "description": "预售市场ID",
  87. "name": "marketid",
  88. "in": "query"
  89. },
  90. {
  91. "type": "string",
  92. "description": "预售商品ID列表 - 格式:1,2,3",
  93. "name": "goodsids",
  94. "in": "query"
  95. }
  96. ],
  97. "responses": {
  98. "200": {
  99. "description": "OK",
  100. "schema": {
  101. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  102. }
  103. },
  104. "500": {
  105. "description": "Internal Server Error",
  106. "schema": {
  107. "$ref": "#/definitions/app.Response"
  108. }
  109. }
  110. }
  111. }
  112. },
  113. "/CPTrade/QueryMyCPTradeGoods": {
  114. "get": {
  115. "security": [
  116. {
  117. "ApiKeyAuth": []
  118. }
  119. ],
  120. "produces": [
  121. "application/json"
  122. ],
  123. "tags": [
  124. "产能预售"
  125. ],
  126. "summary": "查询我的预售信息",
  127. "parameters": [
  128. {
  129. "type": "integer",
  130. "description": "资金账户",
  131. "name": "accountid",
  132. "in": "query",
  133. "required": true
  134. }
  135. ],
  136. "responses": {
  137. "200": {
  138. "description": "OK",
  139. "schema": {
  140. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  141. }
  142. },
  143. "500": {
  144. "description": "Internal Server Error",
  145. "schema": {
  146. "$ref": "#/definitions/app.Response"
  147. }
  148. }
  149. }
  150. }
  151. },
  152. "/CPTrade/QueryPositionCancel": {
  153. "get": {
  154. "security": [
  155. {
  156. "ApiKeyAuth": []
  157. }
  158. ],
  159. "produces": [
  160. "application/json"
  161. ],
  162. "tags": [
  163. "产能预售"
  164. ],
  165. "summary": "查询远期订单注销申请信息",
  166. "parameters": [
  167. {
  168. "type": "integer",
  169. "description": "账户ID",
  170. "name": "userid",
  171. "in": "query",
  172. "required": true
  173. },
  174. {
  175. "type": "integer",
  176. "description": "注销ID",
  177. "name": "cancelid",
  178. "in": "query"
  179. },
  180. {
  181. "type": "integer",
  182. "description": "资金账户ID",
  183. "name": "accountid",
  184. "in": "query"
  185. }
  186. ],
  187. "responses": {
  188. "200": {
  189. "description": "OK",
  190. "schema": {
  191. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  192. }
  193. },
  194. "500": {
  195. "description": "Internal Server Error",
  196. "schema": {
  197. "$ref": "#/definitions/app.Response"
  198. }
  199. }
  200. }
  201. }
  202. },
  203. "/CPTrade/QueryPreasleApply": {
  204. "get": {
  205. "security": [
  206. {
  207. "ApiKeyAuth": []
  208. }
  209. ],
  210. "produces": [
  211. "application/json"
  212. ],
  213. "tags": [
  214. "产能预售"
  215. ],
  216. "summary": "查询产能预售申请信息",
  217. "parameters": [
  218. {
  219. "type": "integer",
  220. "description": "账户ID",
  221. "name": "userid",
  222. "in": "query",
  223. "required": true
  224. },
  225. {
  226. "type": "integer",
  227. "description": "申请ID",
  228. "name": "applyid",
  229. "in": "query"
  230. },
  231. {
  232. "type": "integer",
  233. "description": "资金账户ID",
  234. "name": "accountid",
  235. "in": "query"
  236. }
  237. ],
  238. "responses": {
  239. "200": {
  240. "description": "OK",
  241. "schema": {
  242. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  243. }
  244. },
  245. "500": {
  246. "description": "Internal Server Error",
  247. "schema": {
  248. "$ref": "#/definitions/app.Response"
  249. }
  250. }
  251. }
  252. }
  253. },
  254. "/CPTrade/QueryPresaleGoodsEx": {
  255. "get": {
  256. "security": [
  257. {
  258. "ApiKeyAuth": []
  259. }
  260. ],
  261. "produces": [
  262. "application/json"
  263. ],
  264. "tags": [
  265. "产能预售"
  266. ],
  267. "summary": "查询产能预售商品扩展信息",
  268. "parameters": [
  269. {
  270. "type": "integer",
  271. "description": "预售商品ID",
  272. "name": "goodsid",
  273. "in": "query"
  274. },
  275. {
  276. "type": "integer",
  277. "description": "预售市场ID",
  278. "name": "marketid",
  279. "in": "query"
  280. },
  281. {
  282. "type": "integer",
  283. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  284. "name": "presalemode",
  285. "in": "query"
  286. },
  287. {
  288. "type": "string",
  289. "description": "预售商品ID列表 - 格式:1,2,3",
  290. "name": "goodsids",
  291. "in": "query"
  292. },
  293. {
  294. "type": "string",
  295. "description": "预售商品代码",
  296. "name": "goodscode",
  297. "in": "query"
  298. }
  299. ],
  300. "responses": {
  301. "200": {
  302. "description": "OK",
  303. "schema": {
  304. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  305. }
  306. },
  307. "500": {
  308. "description": "Internal Server Error",
  309. "schema": {
  310. "$ref": "#/definitions/app.Response"
  311. }
  312. }
  313. }
  314. }
  315. },
  316. "/CPTrade/QueryUserGoodsData": {
  317. "get": {
  318. "security": [
  319. {
  320. "ApiKeyAuth": []
  321. }
  322. ],
  323. "produces": [
  324. "application/json"
  325. ],
  326. "tags": [
  327. "产能预售"
  328. ],
  329. "summary": "查询远期订单信息",
  330. "parameters": [
  331. {
  332. "type": "integer",
  333. "description": "资金账户ID",
  334. "name": "accountid",
  335. "in": "query",
  336. "required": true
  337. }
  338. ],
  339. "responses": {
  340. "200": {
  341. "description": "OK",
  342. "schema": {
  343. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  344. }
  345. },
  346. "500": {
  347. "description": "Internal Server Error",
  348. "schema": {
  349. "$ref": "#/definitions/app.Response"
  350. }
  351. }
  352. }
  353. }
  354. },
  355. "/Common/GetAllEnums": {
  356. "get": {
  357. "produces": [
  358. "application/json"
  359. ],
  360. "tags": [
  361. "通用服务"
  362. ],
  363. "summary": "获取所有枚举信息",
  364. "responses": {
  365. "200": {
  366. "description": "OK",
  367. "schema": {
  368. "$ref": "#/definitions/models.Enumdicitem"
  369. }
  370. },
  371. "500": {
  372. "description": "Internal Server Error",
  373. "schema": {
  374. "$ref": "#/definitions/app.Response"
  375. }
  376. }
  377. }
  378. }
  379. },
  380. "/Common/GetServerTime": {
  381. "get": {
  382. "produces": [
  383. "application/json"
  384. ],
  385. "tags": [
  386. "通用服务"
  387. ],
  388. "summary": "获取服务器时间",
  389. "responses": {
  390. "200": {
  391. "description": "OK",
  392. "schema": {
  393. "$ref": "#/definitions/app.Response"
  394. }
  395. },
  396. "500": {
  397. "description": "Internal Server Error",
  398. "schema": {
  399. "$ref": "#/definitions/app.Response"
  400. }
  401. }
  402. }
  403. }
  404. },
  405. "/Common/NoticeReaded": {
  406. "post": {
  407. "security": [
  408. {
  409. "ApiKeyAuth": []
  410. }
  411. ],
  412. "produces": [
  413. "application/json"
  414. ],
  415. "tags": [
  416. "通用服务"
  417. ],
  418. "summary": "通知公告设置已读请求",
  419. "parameters": [
  420. {
  421. "type": "integer",
  422. "description": "登录账号",
  423. "name": "loginID",
  424. "in": "query",
  425. "required": true
  426. },
  427. {
  428. "type": "integer",
  429. "description": "通知公告ID",
  430. "name": "noticeID",
  431. "in": "query",
  432. "required": true
  433. }
  434. ],
  435. "responses": {
  436. "200": {
  437. "description": "OK",
  438. "schema": {
  439. "$ref": "#/definitions/app.Response"
  440. }
  441. },
  442. "500": {
  443. "description": "Internal Server Error",
  444. "schema": {
  445. "$ref": "#/definitions/app.Response"
  446. }
  447. }
  448. }
  449. }
  450. },
  451. "/Common/QueryImageConfigs": {
  452. "get": {
  453. "produces": [
  454. "application/json"
  455. ],
  456. "tags": [
  457. "通用服务"
  458. ],
  459. "summary": "查询轮播图配置信息",
  460. "parameters": [
  461. {
  462. "type": "integer",
  463. "description": "类型 - 1:App首页轮播 2:我的",
  464. "name": "imageType",
  465. "in": "query"
  466. }
  467. ],
  468. "responses": {
  469. "200": {
  470. "description": "OK",
  471. "schema": {
  472. "$ref": "#/definitions/models.Szdz2imageconfig"
  473. }
  474. },
  475. "500": {
  476. "description": "Internal Server Error",
  477. "schema": {
  478. "$ref": "#/definitions/app.Response"
  479. }
  480. }
  481. }
  482. }
  483. },
  484. "/Common/QueryNotice": {
  485. "get": {
  486. "security": [
  487. {
  488. "ApiKeyAuth": []
  489. }
  490. ],
  491. "produces": [
  492. "application/json"
  493. ],
  494. "tags": [
  495. "通用服务"
  496. ],
  497. "summary": "通知公告系统消息查询",
  498. "parameters": [
  499. {
  500. "type": "integer",
  501. "description": "页码",
  502. "name": "page",
  503. "in": "query"
  504. },
  505. {
  506. "type": "integer",
  507. "description": "每页条数",
  508. "name": "pagesize",
  509. "in": "query"
  510. },
  511. {
  512. "type": "integer",
  513. "description": "登录账号",
  514. "name": "loginID",
  515. "in": "query",
  516. "required": true
  517. },
  518. {
  519. "type": "integer",
  520. "description": "消息类型 - 1:公告通知 2:系统消息",
  521. "name": "msgType",
  522. "in": "query"
  523. },
  524. {
  525. "type": "boolean",
  526. "description": "是否只获取未读信息",
  527. "name": "onlyUnRead",
  528. "in": "query"
  529. }
  530. ],
  531. "responses": {
  532. "200": {
  533. "description": "OK",
  534. "schema": {
  535. "$ref": "#/definitions/common.QueryNoticeRsp"
  536. }
  537. },
  538. "500": {
  539. "description": "Internal Server Error",
  540. "schema": {
  541. "$ref": "#/definitions/app.Response"
  542. }
  543. }
  544. }
  545. }
  546. },
  547. "/Common/QueryProvincesAndCities": {
  548. "get": {
  549. "produces": [
  550. "application/json"
  551. ],
  552. "tags": [
  553. "通用服务"
  554. ],
  555. "summary": "查询省市信息(不包括区)",
  556. "parameters": [
  557. {
  558. "type": "integer",
  559. "description": "省ID",
  560. "name": "provinceID",
  561. "in": "query"
  562. }
  563. ],
  564. "responses": {
  565. "200": {
  566. "description": "OK",
  567. "schema": {
  568. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  569. }
  570. },
  571. "500": {
  572. "description": "Internal Server Error",
  573. "schema": {
  574. "$ref": "#/definitions/app.Response"
  575. }
  576. }
  577. }
  578. }
  579. },
  580. "/Common/QueryTableDefine": {
  581. "get": {
  582. "produces": [
  583. "application/json"
  584. ],
  585. "tags": [
  586. "通用服务"
  587. ],
  588. "summary": "查询交易端列表头信息",
  589. "parameters": [
  590. {
  591. "type": "string",
  592. "description": "表key",
  593. "name": "TableKey",
  594. "in": "query"
  595. }
  596. ],
  597. "responses": {
  598. "200": {
  599. "description": "OK",
  600. "schema": {
  601. "$ref": "#/definitions/common.QueryTableDefineRsp"
  602. }
  603. },
  604. "500": {
  605. "description": "Internal Server Error",
  606. "schema": {
  607. "$ref": "#/definitions/app.Response"
  608. }
  609. }
  610. }
  611. }
  612. },
  613. "/Common/QueryTraderMenu": {
  614. "get": {
  615. "produces": [
  616. "application/json"
  617. ],
  618. "tags": [
  619. "通用服务"
  620. ],
  621. "summary": "查询交易端菜单",
  622. "parameters": [
  623. {
  624. "type": "integer",
  625. "description": "登录账号",
  626. "name": "loginid",
  627. "in": "query",
  628. "required": true
  629. }
  630. ],
  631. "responses": {
  632. "200": {
  633. "description": "OK",
  634. "schema": {
  635. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  636. }
  637. },
  638. "500": {
  639. "description": "Internal Server Error",
  640. "schema": {
  641. "$ref": "#/definitions/app.Response"
  642. }
  643. }
  644. }
  645. }
  646. },
  647. "/Delivery/QueryDeliveryRelation": {
  648. "get": {
  649. "security": [
  650. {
  651. "ApiKeyAuth": []
  652. }
  653. ],
  654. "produces": [
  655. "application/json"
  656. ],
  657. "tags": [
  658. "交割服务"
  659. ],
  660. "summary": "查询商品交割关系表",
  661. "parameters": [
  662. {
  663. "type": "integer",
  664. "description": "商品ID",
  665. "name": "goodsid",
  666. "in": "query"
  667. },
  668. {
  669. "type": "integer",
  670. "description": "品种ID",
  671. "name": "deliverygoodsid",
  672. "in": "query"
  673. },
  674. {
  675. "type": "integer",
  676. "description": "市场ID",
  677. "name": "marketid",
  678. "in": "query"
  679. }
  680. ],
  681. "responses": {
  682. "200": {
  683. "description": "OK",
  684. "schema": {
  685. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  686. }
  687. },
  688. "500": {
  689. "description": "Internal Server Error",
  690. "schema": {
  691. "$ref": "#/definitions/app.Response"
  692. }
  693. }
  694. }
  695. }
  696. },
  697. "/Erms2/QueryArbitrageStrategy": {
  698. "get": {
  699. "security": [
  700. {
  701. "ApiKeyAuth": []
  702. }
  703. ],
  704. "produces": [
  705. "application/json"
  706. ],
  707. "tags": [
  708. "风险管理"
  709. ],
  710. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  711. "parameters": [
  712. {
  713. "type": "integer",
  714. "description": "账户ID",
  715. "name": "userid",
  716. "in": "query",
  717. "required": true
  718. },
  719. {
  720. "type": "string",
  721. "description": "商品组ID(品种ID)",
  722. "name": "goodsgroupid",
  723. "in": "query"
  724. }
  725. ],
  726. "responses": {
  727. "200": {
  728. "description": "OK",
  729. "schema": {
  730. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  731. }
  732. },
  733. "500": {
  734. "description": "Internal Server Error",
  735. "schema": {
  736. "$ref": "#/definitions/app.Response"
  737. }
  738. }
  739. }
  740. }
  741. },
  742. "/Erms2/QueryInnerTradeDetail": {
  743. "get": {
  744. "security": [
  745. {
  746. "ApiKeyAuth": []
  747. }
  748. ],
  749. "produces": [
  750. "application/json"
  751. ],
  752. "tags": [
  753. "风险管理"
  754. ],
  755. "summary": "查询内部成交单信息",
  756. "parameters": [
  757. {
  758. "type": "integer",
  759. "description": "资金账户",
  760. "name": "accountid",
  761. "in": "query",
  762. "required": true
  763. }
  764. ],
  765. "responses": {
  766. "200": {
  767. "description": "OK",
  768. "schema": {
  769. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  770. }
  771. },
  772. "500": {
  773. "description": "Internal Server Error",
  774. "schema": {
  775. "$ref": "#/definitions/app.Response"
  776. }
  777. }
  778. }
  779. }
  780. },
  781. "/Erms2/QuerySpotContract": {
  782. "get": {
  783. "security": [
  784. {
  785. "ApiKeyAuth": []
  786. }
  787. ],
  788. "produces": [
  789. "application/json"
  790. ],
  791. "tags": [
  792. "风险管理"
  793. ],
  794. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  795. "parameters": [
  796. {
  797. "type": "integer",
  798. "description": "策略申请ID",
  799. "name": "asapplyid",
  800. "in": "query",
  801. "required": true
  802. },
  803. {
  804. "type": "integer",
  805. "description": "现货合同ID",
  806. "name": "spotcontractid",
  807. "in": "query"
  808. }
  809. ],
  810. "responses": {
  811. "200": {
  812. "description": "OK",
  813. "schema": {
  814. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  815. }
  816. },
  817. "500": {
  818. "description": "Internal Server Error",
  819. "schema": {
  820. "$ref": "#/definitions/app.Response"
  821. }
  822. }
  823. }
  824. }
  825. },
  826. "/Erms3/AddErms2ASApply": {
  827. "post": {
  828. "security": [
  829. {
  830. "ApiKeyAuth": []
  831. }
  832. ],
  833. "produces": [
  834. "application/json"
  835. ],
  836. "tags": [
  837. "风险管理v3"
  838. ],
  839. "summary": "新增期现套利业务申请",
  840. "parameters": [
  841. {
  842. "description": "申请参数",
  843. "name": "jsonBody",
  844. "in": "body",
  845. "required": true,
  846. "schema": {
  847. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  848. }
  849. }
  850. ],
  851. "responses": {
  852. "200": {
  853. "description": "OK",
  854. "schema": {
  855. "$ref": "#/definitions/app.Response"
  856. }
  857. },
  858. "500": {
  859. "description": "Internal Server Error",
  860. "schema": {
  861. "$ref": "#/definitions/app.Response"
  862. }
  863. }
  864. }
  865. }
  866. },
  867. "/Erms3/AddErms2SpotTradeApply": {
  868. "post": {
  869. "security": [
  870. {
  871. "ApiKeyAuth": []
  872. }
  873. ],
  874. "produces": [
  875. "application/json"
  876. ],
  877. "tags": [
  878. "风险管理v3"
  879. ],
  880. "summary": "新增现货贸易业务申请",
  881. "parameters": [
  882. {
  883. "description": "申请参数",
  884. "name": "jsonBody",
  885. "in": "body",
  886. "required": true,
  887. "schema": {
  888. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  889. }
  890. }
  891. ],
  892. "responses": {
  893. "200": {
  894. "description": "OK",
  895. "schema": {
  896. "$ref": "#/definitions/app.Response"
  897. }
  898. },
  899. "500": {
  900. "description": "Internal Server Error",
  901. "schema": {
  902. "$ref": "#/definitions/app.Response"
  903. }
  904. }
  905. }
  906. }
  907. },
  908. "/Erms3/AddSpotContractApply": {
  909. "post": {
  910. "security": [
  911. {
  912. "ApiKeyAuth": []
  913. }
  914. ],
  915. "produces": [
  916. "application/json"
  917. ],
  918. "tags": [
  919. "风险管理v3"
  920. ],
  921. "summary": "新增现货合同申请",
  922. "parameters": [
  923. {
  924. "description": "申请参数",
  925. "name": "jsonBody",
  926. "in": "body",
  927. "required": true,
  928. "schema": {
  929. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  930. }
  931. }
  932. ],
  933. "responses": {
  934. "200": {
  935. "description": "OK",
  936. "schema": {
  937. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  938. }
  939. },
  940. "500": {
  941. "description": "Internal Server Error",
  942. "schema": {
  943. "$ref": "#/definitions/app.Response"
  944. }
  945. }
  946. }
  947. }
  948. },
  949. "/Erms3/AddUserInfoApply": {
  950. "post": {
  951. "security": [
  952. {
  953. "ApiKeyAuth": []
  954. }
  955. ],
  956. "produces": [
  957. "application/json"
  958. ],
  959. "tags": [
  960. "风险管理v3"
  961. ],
  962. "summary": "新增客户申请",
  963. "parameters": [
  964. {
  965. "description": "申请参数",
  966. "name": "jsonBody",
  967. "in": "body",
  968. "required": true,
  969. "schema": {
  970. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  971. }
  972. }
  973. ],
  974. "responses": {
  975. "200": {
  976. "description": "OK",
  977. "schema": {
  978. "$ref": "#/definitions/app.Response"
  979. }
  980. },
  981. "500": {
  982. "description": "Internal Server Error",
  983. "schema": {
  984. "$ref": "#/definitions/app.Response"
  985. }
  986. }
  987. }
  988. }
  989. },
  990. "/Erms3/QueryBusinessInfo": {
  991. "get": {
  992. "security": [
  993. {
  994. "ApiKeyAuth": []
  995. }
  996. ],
  997. "produces": [
  998. "application/json"
  999. ],
  1000. "tags": [
  1001. "风险管理v3"
  1002. ],
  1003. "summary": "查询业务表单数据",
  1004. "parameters": [
  1005. {
  1006. "type": "string",
  1007. "description": "资金账号ID列表,用逗号分隔",
  1008. "name": "accountids",
  1009. "in": "query",
  1010. "required": true
  1011. },
  1012. {
  1013. "type": "integer",
  1014. "description": "状态,0为未结束 1为已结束",
  1015. "name": "status",
  1016. "in": "query",
  1017. "required": true
  1018. }
  1019. ],
  1020. "responses": {
  1021. "200": {
  1022. "description": "OK",
  1023. "schema": {
  1024. "type": "array",
  1025. "items": {
  1026. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  1027. }
  1028. }
  1029. },
  1030. "500": {
  1031. "description": "Internal Server Error",
  1032. "schema": {
  1033. "$ref": "#/definitions/app.Response"
  1034. }
  1035. }
  1036. }
  1037. }
  1038. },
  1039. "/Erms3/QueryPendingAuditContract": {
  1040. "get": {
  1041. "security": [
  1042. {
  1043. "ApiKeyAuth": []
  1044. }
  1045. ],
  1046. "produces": [
  1047. "application/json"
  1048. ],
  1049. "tags": [
  1050. "风险管理v3"
  1051. ],
  1052. "summary": "查询待审核合同",
  1053. "parameters": [
  1054. {
  1055. "type": "string",
  1056. "description": "资金账号ID列表,逗号隔开",
  1057. "name": "accountids",
  1058. "in": "query",
  1059. "required": true
  1060. },
  1061. {
  1062. "type": "integer",
  1063. "description": "合同类型 1-采购 -1-销售",
  1064. "name": "contracttype",
  1065. "in": "query",
  1066. "required": true
  1067. },
  1068. {
  1069. "type": "integer",
  1070. "description": "合同模式 1-普通 2-回购",
  1071. "name": "contractmode",
  1072. "in": "query",
  1073. "required": true
  1074. }
  1075. ],
  1076. "responses": {
  1077. "200": {
  1078. "description": "OK",
  1079. "schema": {
  1080. "type": "array",
  1081. "items": {
  1082. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  1083. }
  1084. }
  1085. },
  1086. "500": {
  1087. "description": "Internal Server Error",
  1088. "schema": {
  1089. "$ref": "#/definitions/app.Response"
  1090. }
  1091. }
  1092. }
  1093. }
  1094. },
  1095. "/Erms3/QueryPendingBusiness": {
  1096. "get": {
  1097. "security": [
  1098. {
  1099. "ApiKeyAuth": []
  1100. }
  1101. ],
  1102. "produces": [
  1103. "application/json"
  1104. ],
  1105. "tags": [
  1106. "风险管理v3"
  1107. ],
  1108. "summary": "查询待审核基差贸易业务",
  1109. "parameters": [
  1110. {
  1111. "type": "string",
  1112. "description": "资金账号ID列表,逗号隔开",
  1113. "name": "accountids",
  1114. "in": "query",
  1115. "required": true
  1116. }
  1117. ],
  1118. "responses": {
  1119. "200": {
  1120. "description": "OK",
  1121. "schema": {
  1122. "type": "array",
  1123. "items": {
  1124. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  1125. }
  1126. }
  1127. },
  1128. "500": {
  1129. "description": "Internal Server Error",
  1130. "schema": {
  1131. "$ref": "#/definitions/app.Response"
  1132. }
  1133. }
  1134. }
  1135. }
  1136. },
  1137. "/Erms3/QuerySpotContractAppleForm": {
  1138. "get": {
  1139. "security": [
  1140. {
  1141. "ApiKeyAuth": []
  1142. }
  1143. ],
  1144. "produces": [
  1145. "application/json"
  1146. ],
  1147. "tags": [
  1148. "风险管理v3"
  1149. ],
  1150. "summary": "查询合同申请表单数据",
  1151. "parameters": [
  1152. {
  1153. "type": "integer",
  1154. "description": "登录账号",
  1155. "name": "loginID",
  1156. "in": "query",
  1157. "required": true
  1158. }
  1159. ],
  1160. "responses": {
  1161. "200": {
  1162. "description": "OK",
  1163. "schema": {
  1164. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  1165. }
  1166. },
  1167. "500": {
  1168. "description": "Internal Server Error",
  1169. "schema": {
  1170. "$ref": "#/definitions/app.Response"
  1171. }
  1172. }
  1173. }
  1174. }
  1175. },
  1176. "/Erms3/QuerySpotContractDetail": {
  1177. "get": {
  1178. "security": [
  1179. {
  1180. "ApiKeyAuth": []
  1181. }
  1182. ],
  1183. "produces": [
  1184. "application/json"
  1185. ],
  1186. "tags": [
  1187. "风险管理v3"
  1188. ],
  1189. "summary": "查询合同详细信息",
  1190. "parameters": [
  1191. {
  1192. "type": "string",
  1193. "description": "资金账号ID列表,用逗号分隔",
  1194. "name": "accountids",
  1195. "in": "query",
  1196. "required": true
  1197. },
  1198. {
  1199. "type": "integer",
  1200. "description": "合同类型,1为采购合同 -1为销售合同",
  1201. "name": "contracttype",
  1202. "in": "query",
  1203. "required": true
  1204. },
  1205. {
  1206. "type": "integer",
  1207. "description": "合同模式,1为普通合同 2为回购销售合同",
  1208. "name": "contractmode",
  1209. "in": "query",
  1210. "required": true
  1211. },
  1212. {
  1213. "type": "integer",
  1214. "description": "状态,0为履约中 1为已完成",
  1215. "name": "status",
  1216. "in": "query",
  1217. "required": true
  1218. }
  1219. ],
  1220. "responses": {
  1221. "200": {
  1222. "description": "OK",
  1223. "schema": {
  1224. "type": "array",
  1225. "items": {
  1226. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  1227. }
  1228. }
  1229. },
  1230. "500": {
  1231. "description": "Internal Server Error",
  1232. "schema": {
  1233. "$ref": "#/definitions/app.Response"
  1234. }
  1235. }
  1236. }
  1237. }
  1238. },
  1239. "/Erms3/QueryUserInfoApplies": {
  1240. "get": {
  1241. "security": [
  1242. {
  1243. "ApiKeyAuth": []
  1244. }
  1245. ],
  1246. "produces": [
  1247. "application/json"
  1248. ],
  1249. "tags": [
  1250. "风险管理v3"
  1251. ],
  1252. "summary": "客户申请信息查询",
  1253. "parameters": [
  1254. {
  1255. "type": "integer",
  1256. "description": "页码",
  1257. "name": "page",
  1258. "in": "query"
  1259. },
  1260. {
  1261. "type": "integer",
  1262. "description": "每页条数",
  1263. "name": "pagesize",
  1264. "in": "query"
  1265. },
  1266. {
  1267. "type": "string",
  1268. "description": "客户名称,支持模糊查询",
  1269. "name": "userName",
  1270. "in": "query"
  1271. }
  1272. ],
  1273. "responses": {
  1274. "200": {
  1275. "description": "OK",
  1276. "schema": {
  1277. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  1278. }
  1279. },
  1280. "500": {
  1281. "description": "Internal Server Error",
  1282. "schema": {
  1283. "$ref": "#/definitions/app.Response"
  1284. }
  1285. }
  1286. }
  1287. }
  1288. },
  1289. "/Erms3/QueryUserInfos": {
  1290. "get": {
  1291. "security": [
  1292. {
  1293. "ApiKeyAuth": []
  1294. }
  1295. ],
  1296. "produces": [
  1297. "application/json"
  1298. ],
  1299. "tags": [
  1300. "风险管理v3"
  1301. ],
  1302. "summary": "客户信息查询",
  1303. "parameters": [
  1304. {
  1305. "type": "integer",
  1306. "description": "页码",
  1307. "name": "page",
  1308. "in": "query"
  1309. },
  1310. {
  1311. "type": "integer",
  1312. "description": "每页条数",
  1313. "name": "pagesize",
  1314. "in": "query"
  1315. },
  1316. {
  1317. "type": "string",
  1318. "description": "客户名称,支持模糊查询",
  1319. "name": "userName",
  1320. "in": "query"
  1321. }
  1322. ],
  1323. "responses": {
  1324. "200": {
  1325. "description": "OK",
  1326. "schema": {
  1327. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  1328. }
  1329. },
  1330. "500": {
  1331. "description": "Internal Server Error",
  1332. "schema": {
  1333. "$ref": "#/definitions/app.Response"
  1334. }
  1335. }
  1336. }
  1337. }
  1338. },
  1339. "/HSBY/GetHsbyMyCount": {
  1340. "get": {
  1341. "security": [
  1342. {
  1343. "ApiKeyAuth": []
  1344. }
  1345. ],
  1346. "description": "说明: 不包括已完成的数量。",
  1347. "produces": [
  1348. "application/json"
  1349. ],
  1350. "tags": [
  1351. "定制【海商报业】"
  1352. ],
  1353. "summary": "获取我的订单与包裹数量",
  1354. "parameters": [
  1355. {
  1356. "type": "string",
  1357. "description": "资金账户列表,格式:1,2,3",
  1358. "name": "accountIDs",
  1359. "in": "query",
  1360. "required": true
  1361. }
  1362. ],
  1363. "responses": {
  1364. "200": {
  1365. "description": "OK",
  1366. "schema": {
  1367. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  1368. }
  1369. },
  1370. "500": {
  1371. "description": "Internal Server Error",
  1372. "schema": {
  1373. "$ref": "#/definitions/app.Response"
  1374. }
  1375. }
  1376. }
  1377. }
  1378. },
  1379. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  1380. "get": {
  1381. "security": [
  1382. {
  1383. "ApiKeyAuth": []
  1384. }
  1385. ],
  1386. "produces": [
  1387. "application/json"
  1388. ],
  1389. "tags": [
  1390. "定制【海商报业】"
  1391. ],
  1392. "summary": "查询\"我的订单 - 已完成\"单据信息",
  1393. "parameters": [
  1394. {
  1395. "type": "integer",
  1396. "description": "页码",
  1397. "name": "page",
  1398. "in": "query"
  1399. },
  1400. {
  1401. "type": "integer",
  1402. "description": "每页条数",
  1403. "name": "pagesize",
  1404. "in": "query"
  1405. },
  1406. {
  1407. "type": "string",
  1408. "description": "资金账户列表,格式:1,2,3",
  1409. "name": "accountIDs",
  1410. "in": "query",
  1411. "required": true
  1412. }
  1413. ],
  1414. "responses": {
  1415. "200": {
  1416. "description": "OK",
  1417. "schema": {
  1418. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  1419. }
  1420. },
  1421. "500": {
  1422. "description": "Internal Server Error",
  1423. "schema": {
  1424. "$ref": "#/definitions/app.Response"
  1425. }
  1426. }
  1427. }
  1428. }
  1429. },
  1430. "/HSBY/QueryHsbyGoodsOrderDetails": {
  1431. "get": {
  1432. "security": [
  1433. {
  1434. "ApiKeyAuth": []
  1435. }
  1436. ],
  1437. "description": "说明:查询结果已按委托价格和委托时间排序",
  1438. "produces": [
  1439. "application/json"
  1440. ],
  1441. "tags": [
  1442. "定制【海商报业】"
  1443. ],
  1444. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  1445. "parameters": [
  1446. {
  1447. "type": "integer",
  1448. "description": "商品ID",
  1449. "name": "goodsID",
  1450. "in": "query",
  1451. "required": true
  1452. },
  1453. {
  1454. "type": "string",
  1455. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  1456. "name": "accountIDs",
  1457. "in": "query"
  1458. },
  1459. {
  1460. "type": "integer",
  1461. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  1462. "name": "buyOrSell",
  1463. "in": "query"
  1464. },
  1465. {
  1466. "type": "number",
  1467. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  1468. "name": "price",
  1469. "in": "query"
  1470. },
  1471. {
  1472. "type": "integer",
  1473. "description": "档位,不传则默认为3档",
  1474. "name": "speed",
  1475. "in": "query"
  1476. }
  1477. ],
  1478. "responses": {
  1479. "200": {
  1480. "description": "OK",
  1481. "schema": {
  1482. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  1483. }
  1484. },
  1485. "500": {
  1486. "description": "Internal Server Error",
  1487. "schema": {
  1488. "$ref": "#/definitions/app.Response"
  1489. }
  1490. }
  1491. }
  1492. }
  1493. },
  1494. "/HSBY/QueryHsbyListingGoodsDetail": {
  1495. "get": {
  1496. "security": [
  1497. {
  1498. "ApiKeyAuth": []
  1499. }
  1500. ],
  1501. "produces": [
  1502. "application/json"
  1503. ],
  1504. "tags": [
  1505. "定制【海商报业】"
  1506. ],
  1507. "summary": "查询二级市场(挂牌点选)商品信息详情",
  1508. "parameters": [
  1509. {
  1510. "type": "integer",
  1511. "description": "商品ID",
  1512. "name": "goodsID",
  1513. "in": "query",
  1514. "required": true
  1515. },
  1516. {
  1517. "type": "integer",
  1518. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  1519. "name": "AccountID",
  1520. "in": "query"
  1521. }
  1522. ],
  1523. "responses": {
  1524. "200": {
  1525. "description": "OK",
  1526. "schema": {
  1527. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  1528. }
  1529. },
  1530. "500": {
  1531. "description": "Internal Server Error",
  1532. "schema": {
  1533. "$ref": "#/definitions/app.Response"
  1534. }
  1535. }
  1536. }
  1537. }
  1538. },
  1539. "/HSBY/QueryHsbyMarketGoodsDetail": {
  1540. "get": {
  1541. "security": [
  1542. {
  1543. "ApiKeyAuth": []
  1544. }
  1545. ],
  1546. "produces": [
  1547. "application/json"
  1548. ],
  1549. "tags": [
  1550. "定制【海商报业】"
  1551. ],
  1552. "summary": "查询三级市场(商城)商品信息详情",
  1553. "parameters": [
  1554. {
  1555. "type": "integer",
  1556. "description": "委托单号",
  1557. "name": "orderID",
  1558. "in": "query",
  1559. "required": true
  1560. }
  1561. ],
  1562. "responses": {
  1563. "200": {
  1564. "description": "OK",
  1565. "schema": {
  1566. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  1567. }
  1568. },
  1569. "500": {
  1570. "description": "Internal Server Error",
  1571. "schema": {
  1572. "$ref": "#/definitions/app.Response"
  1573. }
  1574. }
  1575. }
  1576. }
  1577. },
  1578. "/HSBY/QueryHsbyMarketGoodses": {
  1579. "get": {
  1580. "security": [
  1581. {
  1582. "ApiKeyAuth": []
  1583. }
  1584. ],
  1585. "produces": [
  1586. "application/json"
  1587. ],
  1588. "tags": [
  1589. "定制【海商报业】"
  1590. ],
  1591. "summary": "查询特卖商品列表(三级商城)",
  1592. "parameters": [
  1593. {
  1594. "type": "integer",
  1595. "description": "页码",
  1596. "name": "page",
  1597. "in": "query"
  1598. },
  1599. {
  1600. "type": "integer",
  1601. "description": "每页条数",
  1602. "name": "pagesize",
  1603. "in": "query"
  1604. },
  1605. {
  1606. "type": "string",
  1607. "description": "市场ID列表,格式:1,2,3",
  1608. "name": "marketIDs",
  1609. "in": "query",
  1610. "required": true
  1611. },
  1612. {
  1613. "type": "integer",
  1614. "description": "资金账户,主要用于判断商品是否有可用的优惠卷;如未登录可不传。",
  1615. "name": "accountID",
  1616. "in": "query"
  1617. },
  1618. {
  1619. "type": "integer",
  1620. "description": "类别ID",
  1621. "name": "categoryID",
  1622. "in": "query"
  1623. },
  1624. {
  1625. "type": "integer",
  1626. "description": "商品ID",
  1627. "name": "goodsID",
  1628. "in": "query"
  1629. }
  1630. ],
  1631. "responses": {
  1632. "200": {
  1633. "description": "OK",
  1634. "schema": {
  1635. "$ref": "#/definitions/models.HsbyMarketGoods"
  1636. }
  1637. },
  1638. "500": {
  1639. "description": "Internal Server Error",
  1640. "schema": {
  1641. "$ref": "#/definitions/app.Response"
  1642. }
  1643. }
  1644. }
  1645. }
  1646. },
  1647. "/HSBY/QueryHsbyMarkets": {
  1648. "get": {
  1649. "security": [
  1650. {
  1651. "ApiKeyAuth": []
  1652. }
  1653. ],
  1654. "produces": [
  1655. "application/json"
  1656. ],
  1657. "tags": [
  1658. "定制【海商报业】"
  1659. ],
  1660. "summary": "查询海商报业相关市场信息",
  1661. "responses": {
  1662. "200": {
  1663. "description": "OK",
  1664. "schema": {
  1665. "$ref": "#/definitions/models.HsbyMarketInfo"
  1666. }
  1667. },
  1668. "500": {
  1669. "description": "Internal Server Error",
  1670. "schema": {
  1671. "$ref": "#/definitions/app.Response"
  1672. }
  1673. }
  1674. }
  1675. }
  1676. },
  1677. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  1678. "get": {
  1679. "security": [
  1680. {
  1681. "ApiKeyAuth": []
  1682. }
  1683. ],
  1684. "description": "说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;",
  1685. "produces": [
  1686. "application/json"
  1687. ],
  1688. "tags": [
  1689. "定制【海商报业】"
  1690. ],
  1691. "summary": "查询“我的订单”信息",
  1692. "parameters": [
  1693. {
  1694. "type": "string",
  1695. "description": "资金账户列表,格式:1,2,3",
  1696. "name": "accountIDs",
  1697. "in": "query",
  1698. "required": true
  1699. },
  1700. {
  1701. "type": "integer",
  1702. "description": "'我的订单'状态, 1:抢购中 2:求购中 3:已完成;不传则为'全部'",
  1703. "name": "myBuyStatus",
  1704. "in": "query"
  1705. }
  1706. ],
  1707. "responses": {
  1708. "200": {
  1709. "description": "OK",
  1710. "schema": {
  1711. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  1712. }
  1713. },
  1714. "500": {
  1715. "description": "Internal Server Error",
  1716. "schema": {
  1717. "$ref": "#/definitions/app.Response"
  1718. }
  1719. }
  1720. }
  1721. }
  1722. },
  1723. "/HSBY/QueryHsbyMyGoods": {
  1724. "get": {
  1725. "security": [
  1726. {
  1727. "ApiKeyAuth": []
  1728. }
  1729. ],
  1730. "produces": [
  1731. "application/json"
  1732. ],
  1733. "tags": [
  1734. "定制【海商报业】"
  1735. ],
  1736. "summary": "查询“我的商品”信息",
  1737. "parameters": [
  1738. {
  1739. "type": "string",
  1740. "description": "资金账户列表,格式:1,2,3",
  1741. "name": "accountIDs",
  1742. "in": "query",
  1743. "required": true
  1744. }
  1745. ],
  1746. "responses": {
  1747. "200": {
  1748. "description": "OK",
  1749. "schema": {
  1750. "$ref": "#/definitions/models.HsbyMyGoods"
  1751. }
  1752. },
  1753. "500": {
  1754. "description": "Internal Server Error",
  1755. "schema": {
  1756. "$ref": "#/definitions/app.Response"
  1757. }
  1758. }
  1759. }
  1760. }
  1761. },
  1762. "/HSBY/QueryHsbyMyPackages": {
  1763. "get": {
  1764. "security": [
  1765. {
  1766. "ApiKeyAuth": []
  1767. }
  1768. ],
  1769. "produces": [
  1770. "application/json"
  1771. ],
  1772. "tags": [
  1773. "定制【海商报业】"
  1774. ],
  1775. "summary": "查询我的包裹信息",
  1776. "parameters": [
  1777. {
  1778. "type": "string",
  1779. "description": "资金账户列表,格式:1,2,3",
  1780. "name": "accountIDs",
  1781. "in": "query",
  1782. "required": true
  1783. },
  1784. {
  1785. "type": "integer",
  1786. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  1787. "name": "takeOrderStatus",
  1788. "in": "query"
  1789. }
  1790. ],
  1791. "responses": {
  1792. "200": {
  1793. "description": "OK",
  1794. "schema": {
  1795. "$ref": "#/definitions/models.HsbyMyPackage"
  1796. }
  1797. },
  1798. "500": {
  1799. "description": "Internal Server Error",
  1800. "schema": {
  1801. "$ref": "#/definitions/app.Response"
  1802. }
  1803. }
  1804. }
  1805. }
  1806. },
  1807. "/HSBY/QueryHsbyPreGoodsDetail": {
  1808. "get": {
  1809. "security": [
  1810. {
  1811. "ApiKeyAuth": []
  1812. }
  1813. ],
  1814. "produces": [
  1815. "application/json"
  1816. ],
  1817. "tags": [
  1818. "定制【海商报业】"
  1819. ],
  1820. "summary": "查询一级市场(预售)商品信息详情",
  1821. "parameters": [
  1822. {
  1823. "type": "integer",
  1824. "description": "商品ID",
  1825. "name": "goodsID",
  1826. "in": "query",
  1827. "required": true
  1828. },
  1829. {
  1830. "type": "integer",
  1831. "description": "资金账户,主要用于获取预售商品购买上限",
  1832. "name": "accountID",
  1833. "in": "query"
  1834. }
  1835. ],
  1836. "responses": {
  1837. "200": {
  1838. "description": "OK",
  1839. "schema": {
  1840. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  1841. }
  1842. },
  1843. "500": {
  1844. "description": "Internal Server Error",
  1845. "schema": {
  1846. "$ref": "#/definitions/app.Response"
  1847. }
  1848. }
  1849. }
  1850. }
  1851. },
  1852. "/HSBY/QueryHsbyPreGoodses": {
  1853. "get": {
  1854. "security": [
  1855. {
  1856. "ApiKeyAuth": []
  1857. }
  1858. ],
  1859. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  1860. "produces": [
  1861. "application/json"
  1862. ],
  1863. "tags": [
  1864. "定制【海商报业】"
  1865. ],
  1866. "summary": "查询新品上市商品列表(一级市场预售)",
  1867. "parameters": [
  1868. {
  1869. "type": "integer",
  1870. "description": "页码",
  1871. "name": "page",
  1872. "in": "query"
  1873. },
  1874. {
  1875. "type": "integer",
  1876. "description": "每页条数",
  1877. "name": "pagesize",
  1878. "in": "query"
  1879. },
  1880. {
  1881. "type": "string",
  1882. "description": "市场ID列表,格式:1,2,3",
  1883. "name": "marketIDs",
  1884. "in": "query",
  1885. "required": true
  1886. },
  1887. {
  1888. "type": "integer",
  1889. "description": "目的地(省)ID",
  1890. "name": "descProvinceID",
  1891. "in": "query"
  1892. },
  1893. {
  1894. "type": "integer",
  1895. "description": "目的地(市)ID",
  1896. "name": "descCityID",
  1897. "in": "query"
  1898. }
  1899. ],
  1900. "responses": {
  1901. "200": {
  1902. "description": "OK",
  1903. "schema": {
  1904. "$ref": "#/definitions/models.HsbyPreGoods"
  1905. }
  1906. },
  1907. "500": {
  1908. "description": "Internal Server Error",
  1909. "schema": {
  1910. "$ref": "#/definitions/app.Response"
  1911. }
  1912. }
  1913. }
  1914. }
  1915. },
  1916. "/HSBY/QueryHsbySellMyDetails": {
  1917. "get": {
  1918. "security": [
  1919. {
  1920. "ApiKeyAuth": []
  1921. }
  1922. ],
  1923. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  1924. "produces": [
  1925. "application/json"
  1926. ],
  1927. "tags": [
  1928. "定制【海商报业】"
  1929. ],
  1930. "summary": "查询\"我的闲置\"单据信息",
  1931. "parameters": [
  1932. {
  1933. "type": "integer",
  1934. "description": "页码",
  1935. "name": "page",
  1936. "in": "query"
  1937. },
  1938. {
  1939. "type": "integer",
  1940. "description": "每页条数",
  1941. "name": "pagesize",
  1942. "in": "query"
  1943. },
  1944. {
  1945. "type": "string",
  1946. "description": "资金账户列表,格式:1,2,3",
  1947. "name": "accountIDs",
  1948. "in": "query",
  1949. "required": true
  1950. },
  1951. {
  1952. "type": "integer",
  1953. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  1954. "name": "orderType",
  1955. "in": "query"
  1956. }
  1957. ],
  1958. "responses": {
  1959. "200": {
  1960. "description": "OK",
  1961. "schema": {
  1962. "$ref": "#/definitions/models.HsbySellMyDetail"
  1963. }
  1964. },
  1965. "500": {
  1966. "description": "Internal Server Error",
  1967. "schema": {
  1968. "$ref": "#/definitions/app.Response"
  1969. }
  1970. }
  1971. }
  1972. }
  1973. },
  1974. "/HSBY/QueryHsbyTopGoodses": {
  1975. "get": {
  1976. "security": [
  1977. {
  1978. "ApiKeyAuth": []
  1979. }
  1980. ],
  1981. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  1982. "produces": [
  1983. "application/json"
  1984. ],
  1985. "tags": [
  1986. "定制【海商报业】"
  1987. ],
  1988. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  1989. "parameters": [
  1990. {
  1991. "type": "integer",
  1992. "description": "页码",
  1993. "name": "page",
  1994. "in": "query"
  1995. },
  1996. {
  1997. "type": "integer",
  1998. "description": "每页条数",
  1999. "name": "pagesize",
  2000. "in": "query"
  2001. },
  2002. {
  2003. "type": "string",
  2004. "description": "市场ID列表,格式:1,2,3",
  2005. "name": "marketIDs",
  2006. "in": "query",
  2007. "required": true
  2008. },
  2009. {
  2010. "type": "integer",
  2011. "description": "目的地(省)ID",
  2012. "name": "descProvinceID",
  2013. "in": "query"
  2014. },
  2015. {
  2016. "type": "integer",
  2017. "description": "目的地(市)ID",
  2018. "name": "descCityID",
  2019. "in": "query"
  2020. }
  2021. ],
  2022. "responses": {
  2023. "200": {
  2024. "description": "OK",
  2025. "schema": {
  2026. "$ref": "#/definitions/models.HsbyTopGoods"
  2027. }
  2028. },
  2029. "500": {
  2030. "description": "Internal Server Error",
  2031. "schema": {
  2032. "$ref": "#/definitions/app.Response"
  2033. }
  2034. }
  2035. }
  2036. }
  2037. },
  2038. "/HSBY/QueryMyCollectionOrders": {
  2039. "get": {
  2040. "security": [
  2041. {
  2042. "ApiKeyAuth": []
  2043. }
  2044. ],
  2045. "produces": [
  2046. "application/json"
  2047. ],
  2048. "tags": [
  2049. "定制【海商报业】"
  2050. ],
  2051. "summary": "我的闲置中收款信息查询",
  2052. "parameters": [
  2053. {
  2054. "type": "integer",
  2055. "description": "页码",
  2056. "name": "page",
  2057. "in": "query"
  2058. },
  2059. {
  2060. "type": "integer",
  2061. "description": "每页条数",
  2062. "name": "pagesize",
  2063. "in": "query"
  2064. },
  2065. {
  2066. "type": "string",
  2067. "description": "资金账户,格式:1,2,3",
  2068. "name": "accountIDs",
  2069. "in": "query",
  2070. "required": true
  2071. }
  2072. ],
  2073. "responses": {
  2074. "200": {
  2075. "description": "OK",
  2076. "schema": {
  2077. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  2078. }
  2079. },
  2080. "500": {
  2081. "description": "Internal Server Error",
  2082. "schema": {
  2083. "$ref": "#/definitions/app.Response"
  2084. }
  2085. }
  2086. }
  2087. }
  2088. },
  2089. "/HSBY/QueryMyCoupons": {
  2090. "get": {
  2091. "security": [
  2092. {
  2093. "ApiKeyAuth": []
  2094. }
  2095. ],
  2096. "produces": [
  2097. "application/json"
  2098. ],
  2099. "tags": [
  2100. "定制【海商报业】"
  2101. ],
  2102. "summary": "我的优惠卷查询",
  2103. "parameters": [
  2104. {
  2105. "type": "string",
  2106. "description": "资金账户列表,格式:1,2,3",
  2107. "name": "accountIDs",
  2108. "in": "query",
  2109. "required": true
  2110. },
  2111. {
  2112. "type": "integer",
  2113. "description": "商品ID, 一般与sellUserID配套传入",
  2114. "name": "goodsID",
  2115. "in": "query"
  2116. },
  2117. {
  2118. "type": "integer",
  2119. "description": "卖方UserID",
  2120. "name": "sellUserID",
  2121. "in": "query"
  2122. }
  2123. ],
  2124. "responses": {
  2125. "200": {
  2126. "description": "OK",
  2127. "schema": {
  2128. "$ref": "#/definitions/models.MyCoupon"
  2129. }
  2130. },
  2131. "500": {
  2132. "description": "Internal Server Error",
  2133. "schema": {
  2134. "$ref": "#/definitions/app.Response"
  2135. }
  2136. }
  2137. }
  2138. }
  2139. },
  2140. "/HSBY/QueryMyPayOrders": {
  2141. "get": {
  2142. "security": [
  2143. {
  2144. "ApiKeyAuth": []
  2145. }
  2146. ],
  2147. "produces": [
  2148. "application/json"
  2149. ],
  2150. "tags": [
  2151. "定制【海商报业】"
  2152. ],
  2153. "summary": "获取我的订单中待付款信息",
  2154. "parameters": [
  2155. {
  2156. "type": "integer",
  2157. "description": "页码",
  2158. "name": "page",
  2159. "in": "query"
  2160. },
  2161. {
  2162. "type": "integer",
  2163. "description": "每页条数",
  2164. "name": "pagesize",
  2165. "in": "query"
  2166. },
  2167. {
  2168. "type": "string",
  2169. "description": "资金账户列表,格式:1,2,3",
  2170. "name": "accountIDs",
  2171. "in": "query",
  2172. "required": true
  2173. },
  2174. {
  2175. "type": "integer",
  2176. "description": "买方委托单号",
  2177. "name": "buyOrderID",
  2178. "in": "query"
  2179. },
  2180. {
  2181. "type": "integer",
  2182. "description": "卖方委托单号",
  2183. "name": "sellOrderID",
  2184. "in": "query"
  2185. }
  2186. ],
  2187. "responses": {
  2188. "200": {
  2189. "description": "OK",
  2190. "schema": {
  2191. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  2192. }
  2193. },
  2194. "500": {
  2195. "description": "Internal Server Error",
  2196. "schema": {
  2197. "$ref": "#/definitions/app.Response"
  2198. }
  2199. }
  2200. }
  2201. }
  2202. },
  2203. "/HSBY/QueryProvincesAndCities": {
  2204. "get": {
  2205. "security": [
  2206. {
  2207. "ApiKeyAuth": []
  2208. }
  2209. ],
  2210. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  2211. "produces": [
  2212. "application/json"
  2213. ],
  2214. "tags": [
  2215. "定制【海商报业】"
  2216. ],
  2217. "summary": "查询省市信息(不包括区)",
  2218. "parameters": [
  2219. {
  2220. "type": "integer",
  2221. "description": "省ID",
  2222. "name": "provinceID",
  2223. "in": "query"
  2224. }
  2225. ],
  2226. "responses": {
  2227. "200": {
  2228. "description": "OK",
  2229. "schema": {
  2230. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  2231. }
  2232. },
  2233. "500": {
  2234. "description": "Internal Server Error",
  2235. "schema": {
  2236. "$ref": "#/definitions/app.Response"
  2237. }
  2238. }
  2239. }
  2240. }
  2241. },
  2242. "/HSBY/SetHsbyMyPackagesStatus": {
  2243. "post": {
  2244. "security": [
  2245. {
  2246. "ApiKeyAuth": []
  2247. }
  2248. ],
  2249. "produces": [
  2250. "application/json"
  2251. ],
  2252. "tags": [
  2253. "定制【海商报业】"
  2254. ],
  2255. "summary": "设置我的包裹已收货状态",
  2256. "parameters": [
  2257. {
  2258. "type": "string",
  2259. "description": "提货单号",
  2260. "name": "takeOrderID",
  2261. "in": "query",
  2262. "required": true
  2263. },
  2264. {
  2265. "type": "integer",
  2266. "description": "资金账号",
  2267. "name": "accountID",
  2268. "in": "query",
  2269. "required": true
  2270. }
  2271. ],
  2272. "responses": {
  2273. "200": {
  2274. "description": "OK",
  2275. "schema": {
  2276. "$ref": "#/definitions/app.Response"
  2277. }
  2278. },
  2279. "500": {
  2280. "description": "Internal Server Error",
  2281. "schema": {
  2282. "$ref": "#/definitions/app.Response"
  2283. }
  2284. }
  2285. }
  2286. }
  2287. },
  2288. "/Order/QueryHisTradeDetail": {
  2289. "get": {
  2290. "security": [
  2291. {
  2292. "ApiKeyAuth": []
  2293. }
  2294. ],
  2295. "produces": [
  2296. "application/json"
  2297. ],
  2298. "tags": [
  2299. "通用单据"
  2300. ],
  2301. "summary": "历史成交单查询(合约市场)",
  2302. "parameters": [
  2303. {
  2304. "type": "string",
  2305. "description": "资金账户 - 格式:1,2,3",
  2306. "name": "accountID",
  2307. "in": "query",
  2308. "required": true
  2309. },
  2310. {
  2311. "type": "integer",
  2312. "description": "成交单号",
  2313. "name": "tradeID",
  2314. "in": "query"
  2315. },
  2316. {
  2317. "type": "integer",
  2318. "description": "委托单号",
  2319. "name": "orderID",
  2320. "in": "query"
  2321. },
  2322. {
  2323. "type": "string",
  2324. "description": "交易模式 - 格式:1,2,3",
  2325. "name": "tradeMode",
  2326. "in": "query"
  2327. },
  2328. {
  2329. "type": "integer",
  2330. "description": "委托单据类型",
  2331. "name": "buildType",
  2332. "in": "query"
  2333. },
  2334. {
  2335. "type": "string",
  2336. "description": "成交类别 - 格式:1,2,3",
  2337. "name": "tradeType",
  2338. "in": "query"
  2339. },
  2340. {
  2341. "type": "string",
  2342. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2343. "name": "startDate",
  2344. "in": "query"
  2345. },
  2346. {
  2347. "type": "string",
  2348. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2349. "name": "endDate",
  2350. "in": "query"
  2351. }
  2352. ],
  2353. "responses": {
  2354. "200": {
  2355. "description": "OK",
  2356. "schema": {
  2357. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  2358. }
  2359. },
  2360. "500": {
  2361. "description": "Internal Server Error",
  2362. "schema": {
  2363. "$ref": "#/definitions/app.Response"
  2364. }
  2365. }
  2366. }
  2367. }
  2368. },
  2369. "/Order/QueryHisTradeOrderDetail": {
  2370. "get": {
  2371. "security": [
  2372. {
  2373. "ApiKeyAuth": []
  2374. }
  2375. ],
  2376. "produces": [
  2377. "application/json"
  2378. ],
  2379. "tags": [
  2380. "通用单据"
  2381. ],
  2382. "summary": "历史委托单查询请求(合约市场)",
  2383. "parameters": [
  2384. {
  2385. "type": "string",
  2386. "description": "资金账户 - 格式:1,2,3",
  2387. "name": "accountID",
  2388. "in": "query",
  2389. "required": true
  2390. },
  2391. {
  2392. "type": "string",
  2393. "description": "交易模式 - 格式:1,2,3",
  2394. "name": "tradeMode",
  2395. "in": "query"
  2396. },
  2397. {
  2398. "type": "string",
  2399. "description": "委托状态 - 格式:1,2,3",
  2400. "name": "orderStatus",
  2401. "in": "query"
  2402. },
  2403. {
  2404. "type": "integer",
  2405. "description": "委托单号",
  2406. "name": "orderID",
  2407. "in": "query"
  2408. },
  2409. {
  2410. "type": "string",
  2411. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2412. "name": "startDate",
  2413. "in": "query"
  2414. },
  2415. {
  2416. "type": "string",
  2417. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2418. "name": "endDate",
  2419. "in": "query"
  2420. }
  2421. ],
  2422. "responses": {
  2423. "200": {
  2424. "description": "OK",
  2425. "schema": {
  2426. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  2427. }
  2428. },
  2429. "500": {
  2430. "description": "Internal Server Error",
  2431. "schema": {
  2432. "$ref": "#/definitions/app.Response"
  2433. }
  2434. }
  2435. }
  2436. }
  2437. },
  2438. "/Order/QueryTradeDetail": {
  2439. "get": {
  2440. "security": [
  2441. {
  2442. "ApiKeyAuth": []
  2443. }
  2444. ],
  2445. "produces": [
  2446. "application/json"
  2447. ],
  2448. "tags": [
  2449. "通用单据"
  2450. ],
  2451. "summary": "成交单查询(合约市场)",
  2452. "parameters": [
  2453. {
  2454. "type": "string",
  2455. "description": "资金账户 - 格式:1,2,3",
  2456. "name": "accountID",
  2457. "in": "query",
  2458. "required": true
  2459. },
  2460. {
  2461. "type": "integer",
  2462. "description": "成交单号",
  2463. "name": "tradeID",
  2464. "in": "query"
  2465. },
  2466. {
  2467. "type": "integer",
  2468. "description": "委托单号",
  2469. "name": "orderID",
  2470. "in": "query"
  2471. },
  2472. {
  2473. "type": "string",
  2474. "description": "交易模式 - 格式:1,2,3",
  2475. "name": "tradeMode",
  2476. "in": "query"
  2477. },
  2478. {
  2479. "type": "integer",
  2480. "description": "委托单据类型",
  2481. "name": "buildType",
  2482. "in": "query"
  2483. },
  2484. {
  2485. "type": "string",
  2486. "description": "成交类别 - 格式:1,2,3",
  2487. "name": "tradeType",
  2488. "in": "query"
  2489. }
  2490. ],
  2491. "responses": {
  2492. "200": {
  2493. "description": "OK",
  2494. "schema": {
  2495. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  2496. }
  2497. },
  2498. "500": {
  2499. "description": "Internal Server Error",
  2500. "schema": {
  2501. "$ref": "#/definitions/app.Response"
  2502. }
  2503. }
  2504. }
  2505. }
  2506. },
  2507. "/Order/QueryTradeOrderDetail": {
  2508. "get": {
  2509. "security": [
  2510. {
  2511. "ApiKeyAuth": []
  2512. }
  2513. ],
  2514. "produces": [
  2515. "application/json"
  2516. ],
  2517. "tags": [
  2518. "通用单据"
  2519. ],
  2520. "summary": "委托单查询请求(合约市场)",
  2521. "parameters": [
  2522. {
  2523. "type": "string",
  2524. "description": "资金账户 - 格式:1,2,3",
  2525. "name": "accountID",
  2526. "in": "query",
  2527. "required": true
  2528. },
  2529. {
  2530. "type": "string",
  2531. "description": "交易模式 - 格式:1,2,3",
  2532. "name": "tradeMode",
  2533. "in": "query"
  2534. },
  2535. {
  2536. "type": "string",
  2537. "description": "委托状态 - 格式:1,2,3",
  2538. "name": "orderStatus",
  2539. "in": "query"
  2540. },
  2541. {
  2542. "type": "integer",
  2543. "description": "委托单号",
  2544. "name": "orderID",
  2545. "in": "query"
  2546. }
  2547. ],
  2548. "responses": {
  2549. "200": {
  2550. "description": "OK",
  2551. "schema": {
  2552. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  2553. }
  2554. },
  2555. "500": {
  2556. "description": "Internal Server Error",
  2557. "schema": {
  2558. "$ref": "#/definitions/app.Response"
  2559. }
  2560. }
  2561. }
  2562. }
  2563. },
  2564. "/Order/QueryTradePosition": {
  2565. "get": {
  2566. "security": [
  2567. {
  2568. "ApiKeyAuth": []
  2569. }
  2570. ],
  2571. "produces": [
  2572. "application/json"
  2573. ],
  2574. "tags": [
  2575. "通用单据"
  2576. ],
  2577. "summary": "持仓汇总查询(合约市场)",
  2578. "parameters": [
  2579. {
  2580. "type": "string",
  2581. "description": "资金账户 - 格式:1,2,3",
  2582. "name": "accountID",
  2583. "in": "query",
  2584. "required": true
  2585. },
  2586. {
  2587. "type": "string",
  2588. "description": "交易模式 - 格式:1,2,3",
  2589. "name": "tradeMode",
  2590. "in": "query"
  2591. }
  2592. ],
  2593. "responses": {
  2594. "200": {
  2595. "description": "OK",
  2596. "schema": {
  2597. "$ref": "#/definitions/order.QueryTradePositionRsp"
  2598. }
  2599. },
  2600. "500": {
  2601. "description": "Internal Server Error",
  2602. "schema": {
  2603. "$ref": "#/definitions/app.Response"
  2604. }
  2605. }
  2606. }
  2607. }
  2608. },
  2609. "/Quote/QueryHistoryDatas": {
  2610. "get": {
  2611. "security": [
  2612. {
  2613. "ApiKeyAuth": []
  2614. }
  2615. ],
  2616. "produces": [
  2617. "application/json"
  2618. ],
  2619. "tags": [
  2620. "行情服务"
  2621. ],
  2622. "summary": "查询行情历史数据",
  2623. "parameters": [
  2624. {
  2625. "type": "integer",
  2626. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  2627. "name": "cycleType",
  2628. "in": "query",
  2629. "required": true
  2630. },
  2631. {
  2632. "type": "string",
  2633. "description": "商品代码",
  2634. "name": "goodsCode",
  2635. "in": "query",
  2636. "required": true
  2637. },
  2638. {
  2639. "type": "string",
  2640. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  2641. "name": "startTime",
  2642. "in": "query"
  2643. },
  2644. {
  2645. "type": "string",
  2646. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  2647. "name": "endTime",
  2648. "in": "query"
  2649. },
  2650. {
  2651. "type": "integer",
  2652. "description": "条数",
  2653. "name": "count",
  2654. "in": "query"
  2655. },
  2656. {
  2657. "type": "boolean",
  2658. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  2659. "name": "isAsc",
  2660. "in": "query"
  2661. }
  2662. ],
  2663. "responses": {
  2664. "200": {
  2665. "description": "OK",
  2666. "schema": {
  2667. "$ref": "#/definitions/quote.HistoryData"
  2668. }
  2669. },
  2670. "500": {
  2671. "description": "Internal Server Error",
  2672. "schema": {
  2673. "$ref": "#/definitions/app.Response"
  2674. }
  2675. }
  2676. }
  2677. }
  2678. },
  2679. "/Quote/QueryTSData": {
  2680. "get": {
  2681. "produces": [
  2682. "application/json"
  2683. ],
  2684. "tags": [
  2685. "行情服务"
  2686. ],
  2687. "summary": "分时图数据查询",
  2688. "parameters": [
  2689. {
  2690. "type": "string",
  2691. "description": "商品代码",
  2692. "name": "GoodsCode",
  2693. "in": "query",
  2694. "required": true
  2695. }
  2696. ],
  2697. "responses": {
  2698. "200": {
  2699. "description": "OK",
  2700. "schema": {
  2701. "$ref": "#/definitions/quote.QueryTSDataRsp"
  2702. }
  2703. },
  2704. "500": {
  2705. "description": "Internal Server Error",
  2706. "schema": {
  2707. "$ref": "#/definitions/app.Response"
  2708. }
  2709. }
  2710. }
  2711. }
  2712. },
  2713. "/SZDZ/QueryConvertConfig": {
  2714. "get": {
  2715. "security": [
  2716. {
  2717. "ApiKeyAuth": []
  2718. }
  2719. ],
  2720. "produces": [
  2721. "application/json"
  2722. ],
  2723. "tags": [
  2724. "定制【尚志大宗】"
  2725. ],
  2726. "summary": "查询交易系统转换设置",
  2727. "parameters": [
  2728. {
  2729. "type": "integer",
  2730. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  2731. "name": "convertType",
  2732. "in": "query"
  2733. },
  2734. {
  2735. "type": "string",
  2736. "description": "外部商品代码[JD\\PD]",
  2737. "name": "outerGoodsCode",
  2738. "in": "query"
  2739. },
  2740. {
  2741. "type": "string",
  2742. "description": "内部商品ID列表[交易],格式:1,2,3",
  2743. "name": "innerGoodsIDs",
  2744. "in": "query"
  2745. }
  2746. ],
  2747. "responses": {
  2748. "200": {
  2749. "description": "OK",
  2750. "schema": {
  2751. "$ref": "#/definitions/models.Szdz3convertconfig"
  2752. }
  2753. },
  2754. "500": {
  2755. "description": "Internal Server Error",
  2756. "schema": {
  2757. "$ref": "#/definitions/app.Response"
  2758. }
  2759. }
  2760. }
  2761. }
  2762. },
  2763. "/SZDZ/QueryConvertLog": {
  2764. "get": {
  2765. "security": [
  2766. {
  2767. "ApiKeyAuth": []
  2768. }
  2769. ],
  2770. "produces": [
  2771. "application/json"
  2772. ],
  2773. "tags": [
  2774. "定制【尚志大宗】"
  2775. ],
  2776. "summary": "交易系统转换流水查询",
  2777. "parameters": [
  2778. {
  2779. "type": "string",
  2780. "description": "资金账户 - 格式:1,2,3",
  2781. "name": "accountID",
  2782. "in": "query",
  2783. "required": true
  2784. },
  2785. {
  2786. "type": "string",
  2787. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  2788. "name": "startDate",
  2789. "in": "query"
  2790. },
  2791. {
  2792. "type": "string",
  2793. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  2794. "name": "endDate",
  2795. "in": "query"
  2796. }
  2797. ],
  2798. "responses": {
  2799. "200": {
  2800. "description": "OK",
  2801. "schema": {
  2802. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  2803. }
  2804. },
  2805. "500": {
  2806. "description": "Internal Server Error",
  2807. "schema": {
  2808. "$ref": "#/definitions/app.Response"
  2809. }
  2810. }
  2811. }
  2812. }
  2813. },
  2814. "/SZDZ/QueryGoodsPickup": {
  2815. "get": {
  2816. "security": [
  2817. {
  2818. "ApiKeyAuth": []
  2819. }
  2820. ],
  2821. "produces": [
  2822. "application/json"
  2823. ],
  2824. "tags": [
  2825. "定制【尚志大宗】"
  2826. ],
  2827. "summary": "商品提货单查询",
  2828. "parameters": [
  2829. {
  2830. "type": "string",
  2831. "description": "资金账户 - 格式:1,2,3",
  2832. "name": "accountID",
  2833. "in": "query",
  2834. "required": true
  2835. },
  2836. {
  2837. "type": "integer",
  2838. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  2839. "name": "takeOrderStatus",
  2840. "in": "query"
  2841. }
  2842. ],
  2843. "responses": {
  2844. "200": {
  2845. "description": "OK",
  2846. "schema": {
  2847. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  2848. }
  2849. },
  2850. "500": {
  2851. "description": "Internal Server Error",
  2852. "schema": {
  2853. "$ref": "#/definitions/app.Response"
  2854. }
  2855. }
  2856. }
  2857. }
  2858. },
  2859. "/SZDZ/QueryRecieptOrder": {
  2860. "get": {
  2861. "security": [
  2862. {
  2863. "ApiKeyAuth": []
  2864. }
  2865. ],
  2866. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  2867. "produces": [
  2868. "application/json"
  2869. ],
  2870. "tags": [
  2871. "定制【尚志大宗】"
  2872. ],
  2873. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  2874. "parameters": [
  2875. {
  2876. "type": "integer",
  2877. "description": "页码",
  2878. "name": "page",
  2879. "in": "query"
  2880. },
  2881. {
  2882. "type": "integer",
  2883. "description": "每页条数",
  2884. "name": "pagesize",
  2885. "in": "query"
  2886. },
  2887. {
  2888. "type": "integer",
  2889. "description": "商品ID",
  2890. "name": "goodsID",
  2891. "in": "query",
  2892. "required": true
  2893. },
  2894. {
  2895. "type": "string",
  2896. "description": "所属账户名称",
  2897. "name": "accountName",
  2898. "in": "query"
  2899. },
  2900. {
  2901. "type": "integer",
  2902. "description": "市场ID",
  2903. "name": "marketID",
  2904. "in": "query"
  2905. },
  2906. {
  2907. "type": "integer",
  2908. "description": "方向 - 0:买 1:卖",
  2909. "name": "buyorsell",
  2910. "in": "query",
  2911. "required": true
  2912. }
  2913. ],
  2914. "responses": {
  2915. "200": {
  2916. "description": "OK",
  2917. "schema": {
  2918. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  2919. }
  2920. },
  2921. "500": {
  2922. "description": "Internal Server Error",
  2923. "schema": {
  2924. "$ref": "#/definitions/app.Response"
  2925. }
  2926. }
  2927. }
  2928. }
  2929. },
  2930. "/SZDZ/QuerySZDZTradePosition": {
  2931. "get": {
  2932. "security": [
  2933. {
  2934. "ApiKeyAuth": []
  2935. }
  2936. ],
  2937. "produces": [
  2938. "application/json"
  2939. ],
  2940. "tags": [
  2941. "定制【尚志大宗】"
  2942. ],
  2943. "summary": "持仓汇总查询(尚志大宗)",
  2944. "parameters": [
  2945. {
  2946. "type": "integer",
  2947. "description": "资金账户",
  2948. "name": "accountID",
  2949. "in": "query",
  2950. "required": true
  2951. }
  2952. ],
  2953. "responses": {
  2954. "200": {
  2955. "description": "OK",
  2956. "schema": {
  2957. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  2958. }
  2959. },
  2960. "500": {
  2961. "description": "Internal Server Error",
  2962. "schema": {
  2963. "$ref": "#/definitions/app.Response"
  2964. }
  2965. }
  2966. }
  2967. }
  2968. },
  2969. "/SZDZ/SearchWhite": {
  2970. "get": {
  2971. "security": [
  2972. {
  2973. "ApiKeyAuth": []
  2974. }
  2975. ],
  2976. "produces": [
  2977. "application/json"
  2978. ],
  2979. "tags": [
  2980. "定制【尚志大宗】"
  2981. ],
  2982. "summary": "搜索白名单",
  2983. "parameters": [
  2984. {
  2985. "type": "integer",
  2986. "description": "用户ID",
  2987. "name": "userID",
  2988. "in": "query",
  2989. "required": true
  2990. }
  2991. ],
  2992. "responses": {
  2993. "200": {
  2994. "description": "OK",
  2995. "schema": {
  2996. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  2997. }
  2998. },
  2999. "500": {
  3000. "description": "Internal Server Error",
  3001. "schema": {
  3002. "$ref": "#/definitions/app.Response"
  3003. }
  3004. }
  3005. }
  3006. }
  3007. },
  3008. "/Search/SearchGoodses": {
  3009. "get": {
  3010. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  3011. "produces": [
  3012. "application/json"
  3013. ],
  3014. "tags": [
  3015. "检索服务"
  3016. ],
  3017. "summary": "检索商品信息",
  3018. "parameters": [
  3019. {
  3020. "type": "string",
  3021. "description": "检索内容",
  3022. "name": "content",
  3023. "in": "query",
  3024. "required": true
  3025. },
  3026. {
  3027. "type": "string",
  3028. "description": "交易模式,格式:1,2,3",
  3029. "name": "tradeModes",
  3030. "in": "query"
  3031. }
  3032. ],
  3033. "responses": {
  3034. "200": {
  3035. "description": "OK",
  3036. "schema": {
  3037. "$ref": "#/definitions/models.SearchGoods"
  3038. }
  3039. },
  3040. "500": {
  3041. "description": "Internal Server Error",
  3042. "schema": {
  3043. "$ref": "#/definitions/app.Response"
  3044. }
  3045. }
  3046. }
  3047. }
  3048. },
  3049. "/TaAccount/QueryAmountLog": {
  3050. "get": {
  3051. "security": [
  3052. {
  3053. "ApiKeyAuth": []
  3054. }
  3055. ],
  3056. "produces": [
  3057. "application/json"
  3058. ],
  3059. "tags": [
  3060. "资金账户"
  3061. ],
  3062. "summary": "资金流水查询(当前)",
  3063. "parameters": [
  3064. {
  3065. "type": "integer",
  3066. "description": "页码",
  3067. "name": "page",
  3068. "in": "query"
  3069. },
  3070. {
  3071. "type": "integer",
  3072. "description": "每页条数",
  3073. "name": "pagesize",
  3074. "in": "query"
  3075. },
  3076. {
  3077. "type": "string",
  3078. "description": "资金账户 - 格式:1,2,3",
  3079. "name": "accountID",
  3080. "in": "query",
  3081. "required": true
  3082. },
  3083. {
  3084. "type": "string",
  3085. "description": "资金操作类型 - 格式:1,2,3",
  3086. "name": "OperateType",
  3087. "in": "query"
  3088. }
  3089. ],
  3090. "responses": {
  3091. "200": {
  3092. "description": "OK",
  3093. "schema": {
  3094. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  3095. }
  3096. },
  3097. "500": {
  3098. "description": "Internal Server Error",
  3099. "schema": {
  3100. "$ref": "#/definitions/app.Response"
  3101. }
  3102. }
  3103. }
  3104. }
  3105. },
  3106. "/TaAccount/QueryHisAmountLog": {
  3107. "get": {
  3108. "security": [
  3109. {
  3110. "ApiKeyAuth": []
  3111. }
  3112. ],
  3113. "produces": [
  3114. "application/json"
  3115. ],
  3116. "tags": [
  3117. "资金账户"
  3118. ],
  3119. "summary": "资金流水查询(历史)",
  3120. "parameters": [
  3121. {
  3122. "type": "integer",
  3123. "description": "页码",
  3124. "name": "page",
  3125. "in": "query"
  3126. },
  3127. {
  3128. "type": "integer",
  3129. "description": "每页条数",
  3130. "name": "pagesize",
  3131. "in": "query"
  3132. },
  3133. {
  3134. "type": "string",
  3135. "description": "资金账户 - 格式:1,2,3",
  3136. "name": "accountID",
  3137. "in": "query",
  3138. "required": true
  3139. },
  3140. {
  3141. "type": "string",
  3142. "description": "资金操作类型 - 格式:1,2,3",
  3143. "name": "OperateType",
  3144. "in": "query"
  3145. },
  3146. {
  3147. "type": "string",
  3148. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  3149. "name": "startDate",
  3150. "in": "query"
  3151. },
  3152. {
  3153. "type": "string",
  3154. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  3155. "name": "endDate",
  3156. "in": "query"
  3157. }
  3158. ],
  3159. "responses": {
  3160. "200": {
  3161. "description": "OK",
  3162. "schema": {
  3163. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  3164. }
  3165. },
  3166. "500": {
  3167. "description": "Internal Server Error",
  3168. "schema": {
  3169. "$ref": "#/definitions/app.Response"
  3170. }
  3171. }
  3172. }
  3173. }
  3174. },
  3175. "/Trade/QueryRecieptOrder": {
  3176. "get": {
  3177. "security": [
  3178. {
  3179. "ApiKeyAuth": []
  3180. }
  3181. ],
  3182. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  3183. "produces": [
  3184. "application/json"
  3185. ],
  3186. "tags": [
  3187. "通用交易"
  3188. ],
  3189. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  3190. "parameters": [
  3191. {
  3192. "type": "integer",
  3193. "description": "页码",
  3194. "name": "page",
  3195. "in": "query"
  3196. },
  3197. {
  3198. "type": "integer",
  3199. "description": "每页条数",
  3200. "name": "pagesize",
  3201. "in": "query"
  3202. },
  3203. {
  3204. "type": "integer",
  3205. "description": "商品ID",
  3206. "name": "goodsID",
  3207. "in": "query",
  3208. "required": true
  3209. },
  3210. {
  3211. "type": "string",
  3212. "description": "所属账户名称",
  3213. "name": "accountName",
  3214. "in": "query"
  3215. },
  3216. {
  3217. "type": "integer",
  3218. "description": "市场ID",
  3219. "name": "marketID",
  3220. "in": "query"
  3221. },
  3222. {
  3223. "type": "integer",
  3224. "description": "方向 - 0:买 1:卖",
  3225. "name": "buyorsell",
  3226. "in": "query",
  3227. "required": true
  3228. }
  3229. ],
  3230. "responses": {
  3231. "200": {
  3232. "description": "OK",
  3233. "schema": {
  3234. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  3235. }
  3236. },
  3237. "500": {
  3238. "description": "Internal Server Error",
  3239. "schema": {
  3240. "$ref": "#/definitions/app.Response"
  3241. }
  3242. }
  3243. }
  3244. }
  3245. },
  3246. "/User/AddMessageBoard": {
  3247. "post": {
  3248. "security": [
  3249. {
  3250. "ApiKeyAuth": []
  3251. }
  3252. ],
  3253. "produces": [
  3254. "application/json"
  3255. ],
  3256. "tags": [
  3257. "用户信息"
  3258. ],
  3259. "summary": "添加用户留言板信息",
  3260. "parameters": [
  3261. {
  3262. "type": "integer",
  3263. "description": "用户ID",
  3264. "name": "userID",
  3265. "in": "query",
  3266. "required": true
  3267. },
  3268. {
  3269. "type": "string",
  3270. "description": "留言信息",
  3271. "name": "message",
  3272. "in": "query",
  3273. "required": true
  3274. }
  3275. ],
  3276. "responses": {
  3277. "200": {
  3278. "description": "OK",
  3279. "schema": {
  3280. "$ref": "#/definitions/app.Response"
  3281. }
  3282. },
  3283. "500": {
  3284. "description": "Internal Server Error",
  3285. "schema": {
  3286. "$ref": "#/definitions/app.Response"
  3287. }
  3288. }
  3289. }
  3290. }
  3291. },
  3292. "/User/AddUserFavoriteGoods": {
  3293. "post": {
  3294. "security": [
  3295. {
  3296. "ApiKeyAuth": []
  3297. }
  3298. ],
  3299. "produces": [
  3300. "application/json"
  3301. ],
  3302. "tags": [
  3303. "用户信息"
  3304. ],
  3305. "summary": "添加用户商品收藏信息",
  3306. "parameters": [
  3307. {
  3308. "type": "integer",
  3309. "description": "用户ID",
  3310. "name": "userID",
  3311. "in": "query",
  3312. "required": true
  3313. },
  3314. {
  3315. "type": "integer",
  3316. "description": "商品ID",
  3317. "name": "goodsID",
  3318. "in": "query",
  3319. "required": true
  3320. }
  3321. ],
  3322. "responses": {
  3323. "200": {
  3324. "description": "OK",
  3325. "schema": {
  3326. "$ref": "#/definitions/app.Response"
  3327. }
  3328. },
  3329. "500": {
  3330. "description": "Internal Server Error",
  3331. "schema": {
  3332. "$ref": "#/definitions/app.Response"
  3333. }
  3334. }
  3335. }
  3336. }
  3337. },
  3338. "/User/GetLoginID": {
  3339. "get": {
  3340. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  3341. "produces": [
  3342. "application/json"
  3343. ],
  3344. "tags": [
  3345. "用户信息"
  3346. ],
  3347. "summary": "获取登录ID",
  3348. "parameters": [
  3349. {
  3350. "type": "string",
  3351. "description": "登录代码",
  3352. "name": "username",
  3353. "in": "query",
  3354. "required": true
  3355. }
  3356. ],
  3357. "responses": {
  3358. "200": {
  3359. "description": "OK",
  3360. "schema": {
  3361. "$ref": "#/definitions/app.Response"
  3362. }
  3363. },
  3364. "500": {
  3365. "description": "Internal Server Error",
  3366. "schema": {
  3367. "$ref": "#/definitions/app.Response"
  3368. }
  3369. }
  3370. }
  3371. }
  3372. },
  3373. "/User/GetUserAccount": {
  3374. "get": {
  3375. "security": [
  3376. {
  3377. "ApiKeyAuth": []
  3378. }
  3379. ],
  3380. "produces": [
  3381. "application/json"
  3382. ],
  3383. "tags": [
  3384. "用户信息"
  3385. ],
  3386. "summary": "获取用户账号信息",
  3387. "parameters": [
  3388. {
  3389. "type": "integer",
  3390. "description": "用户ID",
  3391. "name": "userID",
  3392. "in": "query",
  3393. "required": true
  3394. }
  3395. ],
  3396. "responses": {
  3397. "200": {
  3398. "description": "OK",
  3399. "schema": {
  3400. "$ref": "#/definitions/models.Useraccount"
  3401. }
  3402. },
  3403. "500": {
  3404. "description": "Internal Server Error",
  3405. "schema": {
  3406. "$ref": "#/definitions/app.Response"
  3407. }
  3408. }
  3409. }
  3410. }
  3411. },
  3412. "/User/GetUserAuthStatus": {
  3413. "get": {
  3414. "security": [
  3415. {
  3416. "ApiKeyAuth": []
  3417. }
  3418. ],
  3419. "produces": [
  3420. "application/json"
  3421. ],
  3422. "tags": [
  3423. "用户信息"
  3424. ],
  3425. "summary": "获取用户实名认证状态",
  3426. "parameters": [
  3427. {
  3428. "type": "integer",
  3429. "description": "用户ID",
  3430. "name": "userID",
  3431. "in": "query",
  3432. "required": true
  3433. }
  3434. ],
  3435. "responses": {
  3436. "200": {
  3437. "description": "OK",
  3438. "schema": {
  3439. "$ref": "#/definitions/app.Response"
  3440. }
  3441. },
  3442. "500": {
  3443. "description": "Internal Server Error",
  3444. "schema": {
  3445. "$ref": "#/definitions/app.Response"
  3446. }
  3447. }
  3448. }
  3449. }
  3450. },
  3451. "/User/QueryMessageBoard": {
  3452. "get": {
  3453. "security": [
  3454. {
  3455. "ApiKeyAuth": []
  3456. }
  3457. ],
  3458. "produces": [
  3459. "application/json"
  3460. ],
  3461. "tags": [
  3462. "用户信息"
  3463. ],
  3464. "summary": "获取用户留言板信息",
  3465. "parameters": [
  3466. {
  3467. "type": "integer",
  3468. "description": "用户ID",
  3469. "name": "userID",
  3470. "in": "query",
  3471. "required": true
  3472. }
  3473. ],
  3474. "responses": {
  3475. "200": {
  3476. "description": "OK",
  3477. "schema": {
  3478. "$ref": "#/definitions/models.Messageboard"
  3479. }
  3480. },
  3481. "500": {
  3482. "description": "Internal Server Error",
  3483. "schema": {
  3484. "$ref": "#/definitions/app.Response"
  3485. }
  3486. }
  3487. }
  3488. }
  3489. },
  3490. "/User/QueryUserFavoriteGoodses": {
  3491. "get": {
  3492. "security": [
  3493. {
  3494. "ApiKeyAuth": []
  3495. }
  3496. ],
  3497. "produces": [
  3498. "application/json"
  3499. ],
  3500. "tags": [
  3501. "用户信息"
  3502. ],
  3503. "summary": "获取用户商品收藏信息",
  3504. "parameters": [
  3505. {
  3506. "type": "integer",
  3507. "description": "用户ID",
  3508. "name": "userID",
  3509. "in": "query",
  3510. "required": true
  3511. }
  3512. ],
  3513. "responses": {
  3514. "200": {
  3515. "description": "OK",
  3516. "schema": {
  3517. "$ref": "#/definitions/models.Userfavoritegoods"
  3518. }
  3519. },
  3520. "500": {
  3521. "description": "Internal Server Error",
  3522. "schema": {
  3523. "$ref": "#/definitions/app.Response"
  3524. }
  3525. }
  3526. }
  3527. }
  3528. },
  3529. "/User/QueryUserInfo": {
  3530. "get": {
  3531. "security": [
  3532. {
  3533. "ApiKeyAuth": []
  3534. }
  3535. ],
  3536. "produces": [
  3537. "application/json"
  3538. ],
  3539. "tags": [
  3540. "用户信息"
  3541. ],
  3542. "summary": "获取用户信息",
  3543. "parameters": [
  3544. {
  3545. "type": "integer",
  3546. "description": "用户ID",
  3547. "name": "userID",
  3548. "in": "query",
  3549. "required": true
  3550. }
  3551. ],
  3552. "responses": {
  3553. "200": {
  3554. "description": "OK",
  3555. "schema": {
  3556. "$ref": "#/definitions/models.Userinfo"
  3557. }
  3558. },
  3559. "500": {
  3560. "description": "Internal Server Error",
  3561. "schema": {
  3562. "$ref": "#/definitions/app.Response"
  3563. }
  3564. }
  3565. }
  3566. }
  3567. },
  3568. "/User/QueryUserReferNum": {
  3569. "get": {
  3570. "produces": [
  3571. "application/json"
  3572. ],
  3573. "tags": [
  3574. "用户信息"
  3575. ],
  3576. "summary": "获取用户邀请码",
  3577. "parameters": [
  3578. {
  3579. "type": "integer",
  3580. "description": "用户ID",
  3581. "name": "userID",
  3582. "in": "query",
  3583. "required": true
  3584. }
  3585. ],
  3586. "responses": {
  3587. "200": {
  3588. "description": "OK",
  3589. "schema": {
  3590. "$ref": "#/definitions/app.Response"
  3591. }
  3592. },
  3593. "500": {
  3594. "description": "Internal Server Error",
  3595. "schema": {
  3596. "$ref": "#/definitions/app.Response"
  3597. }
  3598. }
  3599. }
  3600. }
  3601. },
  3602. "/User/RemoveUserFavoriteGoods": {
  3603. "post": {
  3604. "security": [
  3605. {
  3606. "ApiKeyAuth": []
  3607. }
  3608. ],
  3609. "produces": [
  3610. "application/json"
  3611. ],
  3612. "tags": [
  3613. "用户信息"
  3614. ],
  3615. "summary": "移除用户商品收藏信息",
  3616. "parameters": [
  3617. {
  3618. "type": "integer",
  3619. "description": "用户ID",
  3620. "name": "userID",
  3621. "in": "query",
  3622. "required": true
  3623. },
  3624. {
  3625. "type": "integer",
  3626. "description": "商品ID",
  3627. "name": "goodsID",
  3628. "in": "query",
  3629. "required": true
  3630. }
  3631. ],
  3632. "responses": {
  3633. "200": {
  3634. "description": "OK",
  3635. "schema": {
  3636. "$ref": "#/definitions/app.Response"
  3637. }
  3638. },
  3639. "500": {
  3640. "description": "Internal Server Error",
  3641. "schema": {
  3642. "$ref": "#/definitions/app.Response"
  3643. }
  3644. }
  3645. }
  3646. }
  3647. },
  3648. "/WR/GetWRCategoryInfo": {
  3649. "get": {
  3650. "produces": [
  3651. "application/json"
  3652. ],
  3653. "tags": [
  3654. "仓单服务"
  3655. ],
  3656. "summary": "获取现货分类信息",
  3657. "responses": {
  3658. "200": {
  3659. "description": "OK",
  3660. "schema": {
  3661. "$ref": "#/definitions/models.WRCategoryTree"
  3662. }
  3663. },
  3664. "500": {
  3665. "description": "Internal Server Error",
  3666. "schema": {
  3667. "$ref": "#/definitions/app.Response"
  3668. }
  3669. }
  3670. }
  3671. }
  3672. },
  3673. "/WRTrade/GetAllDeliveryGoods": {
  3674. "get": {
  3675. "security": [
  3676. {
  3677. "ApiKeyAuth": []
  3678. },
  3679. {
  3680. "ApiKeyAuth": []
  3681. }
  3682. ],
  3683. "produces": [
  3684. "application/json",
  3685. "application/json"
  3686. ],
  3687. "tags": [
  3688. "仓单贸易",
  3689. "仓单贸易"
  3690. ],
  3691. "summary": "获取带仓单分类的种类信息",
  3692. "responses": {
  3693. "200": {
  3694. "description": "OK",
  3695. "schema": {
  3696. "$ref": "#/definitions/app.Response"
  3697. }
  3698. },
  3699. "500": {
  3700. "description": "Internal Server Error",
  3701. "schema": {
  3702. "$ref": "#/definitions/app.Response"
  3703. }
  3704. }
  3705. }
  3706. }
  3707. }
  3708. },
  3709. "definitions": {
  3710. "app.Response": {
  3711. "type": "object",
  3712. "properties": {
  3713. "code": {
  3714. "type": "integer"
  3715. },
  3716. "data": {
  3717. "type": "object"
  3718. },
  3719. "msg": {
  3720. "type": "string"
  3721. },
  3722. "page": {
  3723. "description": "页码",
  3724. "type": "integer"
  3725. },
  3726. "pagesize": {
  3727. "description": "每页条数",
  3728. "type": "integer"
  3729. },
  3730. "total": {
  3731. "description": "总条数",
  3732. "type": "integer"
  3733. }
  3734. }
  3735. },
  3736. "common.QueryNoticeRsp": {
  3737. "type": "object",
  3738. "required": [
  3739. "autoid"
  3740. ],
  3741. "properties": {
  3742. "auditoruserid": {
  3743. "description": "审核人",
  3744. "type": "integer"
  3745. },
  3746. "auditremark": {
  3747. "description": "审核备注",
  3748. "type": "string"
  3749. },
  3750. "audittime": {
  3751. "description": "审核日期",
  3752. "type": "string"
  3753. },
  3754. "autoid": {
  3755. "description": "自增ID",
  3756. "type": "integer"
  3757. },
  3758. "content": {
  3759. "description": "内容",
  3760. "type": "string"
  3761. },
  3762. "createtime": {
  3763. "description": "创建时间",
  3764. "type": "string"
  3765. },
  3766. "creatorid": {
  3767. "description": "建仓人",
  3768. "type": "integer"
  3769. },
  3770. "endtime": {
  3771. "description": "结束时间",
  3772. "type": "string"
  3773. },
  3774. "istop": {
  3775. "description": "是否置顶 - 0:不置顶 1:置顶",
  3776. "type": "integer"
  3777. },
  3778. "msgiconurl": {
  3779. "description": "消息图标Url",
  3780. "type": "string"
  3781. },
  3782. "msgtype": {
  3783. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  3784. "type": "integer"
  3785. },
  3786. "publisher": {
  3787. "description": "消息发布者",
  3788. "type": "string"
  3789. },
  3790. "readed": {
  3791. "description": "是否已读",
  3792. "type": "boolean"
  3793. },
  3794. "scheduletime": {
  3795. "description": "计划发送时间",
  3796. "type": "string"
  3797. },
  3798. "sendtype": {
  3799. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  3800. "type": "integer"
  3801. },
  3802. "sentstatus": {
  3803. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  3804. "type": "integer"
  3805. },
  3806. "title": {
  3807. "description": "标题",
  3808. "type": "string"
  3809. },
  3810. "userid": {
  3811. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  3812. "type": "integer"
  3813. }
  3814. }
  3815. },
  3816. "common.QueryProvincesAndCitiesRsp": {
  3817. "type": "object",
  3818. "properties": {
  3819. "cities": {
  3820. "description": "市",
  3821. "type": "array",
  3822. "items": {
  3823. "$ref": "#/definitions/models.Division"
  3824. }
  3825. },
  3826. "province": {
  3827. "description": "省",
  3828. "$ref": "#/definitions/models.Division"
  3829. }
  3830. }
  3831. },
  3832. "common.QueryTableDefineRsp": {
  3833. "type": "object",
  3834. "required": [
  3835. "tablekey"
  3836. ],
  3837. "properties": {
  3838. "columns": {
  3839. "description": "列头信息数组",
  3840. "type": "array",
  3841. "items": {
  3842. "$ref": "#/definitions/models.Tablecolumnconfig"
  3843. }
  3844. },
  3845. "remark": {
  3846. "description": "Remark",
  3847. "type": "string"
  3848. },
  3849. "tabelmenu": {
  3850. "description": "列表菜单",
  3851. "type": "string"
  3852. },
  3853. "tablekey": {
  3854. "description": "列表Key",
  3855. "type": "string"
  3856. },
  3857. "tablename": {
  3858. "description": "列表名称",
  3859. "type": "string"
  3860. },
  3861. "tabletype": {
  3862. "description": "列表类型 - 1:管理端 2:终端",
  3863. "type": "integer"
  3864. }
  3865. }
  3866. },
  3867. "common.QueryTraderMenuRsp": {
  3868. "type": "object",
  3869. "properties": {
  3870. "OperationMenu": {
  3871. "description": "功能菜单",
  3872. "type": "array",
  3873. "items": {
  3874. "$ref": "#/definitions/models.OperationPrimaryMenu"
  3875. }
  3876. },
  3877. "QuoteMenu": {
  3878. "description": "报价牌分类菜单",
  3879. "type": "array",
  3880. "items": {
  3881. "$ref": "#/definitions/models.QuotePrimaryMenu"
  3882. }
  3883. }
  3884. }
  3885. },
  3886. "cptrade.Cptradepositioncancel": {
  3887. "type": "object",
  3888. "required": [
  3889. "cancelid"
  3890. ],
  3891. "properties": {
  3892. "accountid": {
  3893. "description": "申请人账户ID",
  3894. "type": "integer"
  3895. },
  3896. "applystatus": {
  3897. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  3898. "type": "integer"
  3899. },
  3900. "applytime": {
  3901. "description": "申请时间",
  3902. "type": "string"
  3903. },
  3904. "cancelid": {
  3905. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  3906. "type": "integer"
  3907. },
  3908. "cancelqty": {
  3909. "description": "注销数量",
  3910. "type": "integer"
  3911. },
  3912. "createtime": {
  3913. "description": "创建时间",
  3914. "type": "string"
  3915. },
  3916. "creatorid": {
  3917. "description": "创建人ID",
  3918. "type": "integer"
  3919. },
  3920. "creatorname": {
  3921. "description": "创建人",
  3922. "type": "string"
  3923. },
  3924. "goodscode": {
  3925. "description": "订单商品代码",
  3926. "type": "string"
  3927. },
  3928. "goodsid": {
  3929. "description": "商品ID",
  3930. "type": "integer"
  3931. },
  3932. "goodsname": {
  3933. "description": "订单商品名称",
  3934. "type": "string"
  3935. },
  3936. "goodunit": {
  3937. "description": "报价单位",
  3938. "type": "string"
  3939. },
  3940. "handlestatus": {
  3941. "description": "处理状态",
  3942. "type": "integer"
  3943. },
  3944. "marketid": {
  3945. "description": "市场ID",
  3946. "type": "integer"
  3947. },
  3948. "marketname": {
  3949. "description": "市场名称",
  3950. "type": "string"
  3951. },
  3952. "tradedate": {
  3953. "description": "交易日(yyyyMMdd)",
  3954. "type": "string"
  3955. },
  3956. "userid": {
  3957. "description": "申请人ID",
  3958. "type": "integer"
  3959. }
  3960. }
  3961. },
  3962. "cptrade.Cptradepresaleapply": {
  3963. "type": "object",
  3964. "required": [
  3965. "applyid"
  3966. ],
  3967. "properties": {
  3968. "accountid": {
  3969. "description": "申请人账户ID",
  3970. "type": "integer"
  3971. },
  3972. "applyid": {
  3973. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  3974. "type": "integer"
  3975. },
  3976. "applyremark": {
  3977. "description": "申请备注",
  3978. "type": "string"
  3979. },
  3980. "applystatus": {
  3981. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  3982. "type": "integer"
  3983. },
  3984. "applytime": {
  3985. "description": "申请时间",
  3986. "type": "string"
  3987. },
  3988. "attachmenturl": {
  3989. "description": "附件地址",
  3990. "type": "string"
  3991. },
  3992. "endtime": {
  3993. "description": "预售结束时间",
  3994. "type": "string"
  3995. },
  3996. "goodscode": {
  3997. "description": "商品代码",
  3998. "type": "string"
  3999. },
  4000. "goodsid": {
  4001. "description": "商品ID",
  4002. "type": "integer"
  4003. },
  4004. "goodsname": {
  4005. "description": "商品名称",
  4006. "type": "string"
  4007. },
  4008. "goodunit": {
  4009. "description": "报价单位",
  4010. "type": "string"
  4011. },
  4012. "handlestatus": {
  4013. "description": "处理状态",
  4014. "type": "integer"
  4015. },
  4016. "marketid": {
  4017. "description": "预售市场ID",
  4018. "type": "integer"
  4019. },
  4020. "marketname": {
  4021. "description": "预售市场名称",
  4022. "type": "string"
  4023. },
  4024. "presaleqty": {
  4025. "description": "预售数量",
  4026. "type": "integer"
  4027. },
  4028. "relatedgoodscode": {
  4029. "description": "关联交易合约代码",
  4030. "type": "string"
  4031. },
  4032. "relatedgoodsid": {
  4033. "description": "关联交易合约ID",
  4034. "type": "integer"
  4035. },
  4036. "relatedgoodsname": {
  4037. "description": "关联交易合约名称",
  4038. "type": "string"
  4039. },
  4040. "starttime": {
  4041. "description": "预售开始时间",
  4042. "type": "string"
  4043. },
  4044. "tradedate": {
  4045. "description": "交易日(yyyyMMdd)",
  4046. "type": "string"
  4047. },
  4048. "trademode": {
  4049. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  4050. "type": "integer"
  4051. },
  4052. "userid": {
  4053. "description": "申请人ID",
  4054. "type": "integer"
  4055. }
  4056. }
  4057. },
  4058. "cptrade.Cptradeusergoodsdata": {
  4059. "type": "object",
  4060. "required": [
  4061. "accountid",
  4062. "goodsid"
  4063. ],
  4064. "properties": {
  4065. "EnabledQty": {
  4066. "description": "可用量",
  4067. "type": "integer"
  4068. },
  4069. "GoodsCode": {
  4070. "description": "订单商品代码",
  4071. "type": "string"
  4072. },
  4073. "GoodsName": {
  4074. "description": "订单商品名称",
  4075. "type": "string"
  4076. },
  4077. "WRStandardCode": {
  4078. "description": "仓单标准代码",
  4079. "type": "string"
  4080. },
  4081. "WRStandardName": {
  4082. "description": "仓单标准名称",
  4083. "type": "string"
  4084. },
  4085. "accountid": {
  4086. "description": "账户ID",
  4087. "type": "integer"
  4088. },
  4089. "cancelqty": {
  4090. "description": "注销量",
  4091. "type": "integer"
  4092. },
  4093. "curpresaleqty": {
  4094. "description": "当前预售量",
  4095. "type": "integer"
  4096. },
  4097. "deliveryqty": {
  4098. "description": "交割量",
  4099. "type": "integer"
  4100. },
  4101. "freezeamount": {
  4102. "description": "冻结金额",
  4103. "type": "number"
  4104. },
  4105. "goodsid": {
  4106. "description": "商品ID",
  4107. "type": "integer"
  4108. },
  4109. "goodunit": {
  4110. "description": "报价单位",
  4111. "type": "string"
  4112. },
  4113. "hasspotfreeze": {
  4114. "description": "是否有现货冻结 - 0:否 1:有",
  4115. "type": "integer"
  4116. },
  4117. "inqty": {
  4118. "description": "转入量(总数量)",
  4119. "type": "integer"
  4120. },
  4121. "marketid": {
  4122. "description": "市场ID",
  4123. "type": "integer"
  4124. },
  4125. "presaledamount": {
  4126. "description": "已预售总金额",
  4127. "type": "integer"
  4128. },
  4129. "presaledqty": {
  4130. "description": "已预售量",
  4131. "type": "integer"
  4132. },
  4133. "userid": {
  4134. "description": "用户ID",
  4135. "type": "integer"
  4136. },
  4137. "wrstandardid": {
  4138. "description": "仓单标准ID",
  4139. "type": "integer"
  4140. }
  4141. }
  4142. },
  4143. "cptrade.QueryCPTradeMyBidRsp": {
  4144. "type": "object",
  4145. "required": [
  4146. "accountid",
  4147. "goodsid",
  4148. "marketid",
  4149. "orderid",
  4150. "orderqty",
  4151. "ordertime",
  4152. "tradeprice",
  4153. "tradeqty"
  4154. ],
  4155. "properties": {
  4156. "accountid": {
  4157. "description": "账户ID[报价币种]",
  4158. "type": "integer"
  4159. },
  4160. "goodsid": {
  4161. "description": "商品ID",
  4162. "type": "integer"
  4163. },
  4164. "goodunit": {
  4165. "description": "报价单位",
  4166. "type": "string"
  4167. },
  4168. "marketid": {
  4169. "description": "市场ID",
  4170. "type": "integer"
  4171. },
  4172. "orderid": {
  4173. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  4174. "type": "integer"
  4175. },
  4176. "orderprice": {
  4177. "description": "委托价格",
  4178. "type": "number"
  4179. },
  4180. "orderqty": {
  4181. "description": "委托数量",
  4182. "type": "integer"
  4183. },
  4184. "ordertime": {
  4185. "description": "委托时间",
  4186. "type": "string"
  4187. },
  4188. "ordertotalprice": {
  4189. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  4190. "type": "number"
  4191. },
  4192. "ordertotalweight": {
  4193. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  4194. "type": "integer"
  4195. },
  4196. "totaltotalprice": {
  4197. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  4198. "type": "number"
  4199. },
  4200. "tradeprice": {
  4201. "description": "成交价格",
  4202. "type": "number"
  4203. },
  4204. "tradeqty": {
  4205. "description": "成交数量",
  4206. "type": "integer"
  4207. }
  4208. }
  4209. },
  4210. "cptrade.QueryCPTradeOrderDetailRsq": {
  4211. "type": "object",
  4212. "required": [
  4213. "accountid",
  4214. "buildtype",
  4215. "buyorsell",
  4216. "goodsid",
  4217. "marketid",
  4218. "memberuserid",
  4219. "operatetype",
  4220. "orderqty",
  4221. "ordertime",
  4222. "pricemode",
  4223. "strorderid",
  4224. "tradedate",
  4225. "validtype"
  4226. ],
  4227. "properties": {
  4228. "accountid": {
  4229. "description": "账户ID[报价币种]",
  4230. "type": "integer"
  4231. },
  4232. "buildtype": {
  4233. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  4234. "type": "integer"
  4235. },
  4236. "buyorsell": {
  4237. "description": "买卖 - 0:买 1:卖",
  4238. "type": "integer"
  4239. },
  4240. "cancelorderid": {
  4241. "description": "撤单单号(撤单时填写)",
  4242. "type": "integer"
  4243. },
  4244. "cancelqty": {
  4245. "description": "撤单数量",
  4246. "type": "integer"
  4247. },
  4248. "clientordertime": {
  4249. "description": "客户端委托时间",
  4250. "type": "string"
  4251. },
  4252. "clientticket": {
  4253. "description": "客户端流水号",
  4254. "type": "string"
  4255. },
  4256. "clienttype": {
  4257. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  4258. "type": "integer"
  4259. },
  4260. "closeexchagechargevalue": {
  4261. "description": "平仓交易所手续费设置值",
  4262. "type": "number"
  4263. },
  4264. "closefeealgorithm": {
  4265. "description": "平仓手续费收取方式 1:比率 2:固定",
  4266. "type": "integer"
  4267. },
  4268. "closefreezecharge": {
  4269. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  4270. "type": "number"
  4271. },
  4272. "closememberchargevalue": {
  4273. "description": "平仓会员手续费设置值",
  4274. "type": "number"
  4275. },
  4276. "closeqty": {
  4277. "description": "平仓数量(先建后平操作 需要记录)",
  4278. "type": "integer"
  4279. },
  4280. "closetradeqty": {
  4281. "description": "平仓成交数量(先建后平操作,需要记录)",
  4282. "type": "integer"
  4283. },
  4284. "closeunfreezecharge": {
  4285. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  4286. "type": "number"
  4287. },
  4288. "delistingtype": {
  4289. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  4290. "type": "integer"
  4291. },
  4292. "freezecharge": {
  4293. "description": "冻结手续费",
  4294. "type": "number"
  4295. },
  4296. "freezemargin": {
  4297. "description": "冻结保证金(冻结交易金额)",
  4298. "type": "number"
  4299. },
  4300. "gcaccountid": {
  4301. "description": "账户ID[合约币种]",
  4302. "type": "integer"
  4303. },
  4304. "goodsid": {
  4305. "description": "商品ID",
  4306. "type": "integer"
  4307. },
  4308. "isconfirmexercise": {
  4309. "description": "是否确认行权- 0:否 1:是",
  4310. "type": "integer"
  4311. },
  4312. "ispreexercise": {
  4313. "description": "是否预申报- 0:否 1:是",
  4314. "type": "integer"
  4315. },
  4316. "listingselecttype": {
  4317. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  4318. "type": "integer"
  4319. },
  4320. "marginalgorithm": {
  4321. "description": "保证金收取方式 1:比率 2:固定",
  4322. "type": "integer"
  4323. },
  4324. "marginvalue": {
  4325. "description": "即市保证金设置值",
  4326. "type": "number"
  4327. },
  4328. "marketid": {
  4329. "description": "市场ID",
  4330. "type": "integer"
  4331. },
  4332. "marketmaxsub": {
  4333. "description": "市价最大偏移范围",
  4334. "type": "number"
  4335. },
  4336. "memberuserid": {
  4337. "description": "所属会员UserID",
  4338. "type": "integer"
  4339. },
  4340. "openexchagechargevalue": {
  4341. "description": "建仓交易所手续费设置值",
  4342. "type": "number"
  4343. },
  4344. "openfeealgorithm": {
  4345. "description": "建仓手续费收取方式 1:比率 2:固定",
  4346. "type": "integer"
  4347. },
  4348. "openfreezecharge": {
  4349. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  4350. "type": "number"
  4351. },
  4352. "openmemberchargevalue": {
  4353. "description": "建仓会员手续费设置值",
  4354. "type": "number"
  4355. },
  4356. "openqty": {
  4357. "description": "开仓数量(先建后平操作,需要记录)",
  4358. "type": "integer"
  4359. },
  4360. "opentradeqty": {
  4361. "description": "开仓成交数量(先建后平操作,需要记录)",
  4362. "type": "integer"
  4363. },
  4364. "openunfreezecharge": {
  4365. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  4366. "type": "number"
  4367. },
  4368. "operatetype": {
  4369. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  4370. "type": "integer"
  4371. },
  4372. "operatorid": {
  4373. "description": "登录账号(LoginID)",
  4374. "type": "integer"
  4375. },
  4376. "optiontype": {
  4377. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  4378. "type": "integer"
  4379. },
  4380. "orderprice": {
  4381. "description": "委托价格",
  4382. "type": "number"
  4383. },
  4384. "orderqty": {
  4385. "description": "委托数量",
  4386. "type": "integer"
  4387. },
  4388. "ordersrc": {
  4389. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  4390. "type": "integer"
  4391. },
  4392. "orderstatus": {
  4393. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  4394. "type": "integer"
  4395. },
  4396. "ordertime": {
  4397. "description": "委托时间",
  4398. "type": "string"
  4399. },
  4400. "preexerciseprice": {
  4401. "description": "预申报价格",
  4402. "type": "number"
  4403. },
  4404. "premium": {
  4405. "description": "权利金",
  4406. "type": "number"
  4407. },
  4408. "preorderid": {
  4409. "description": "关联预埋单号(止盈止损单时填写)",
  4410. "type": "integer"
  4411. },
  4412. "pricemode": {
  4413. "description": "取价方式 - 1:市价 2: 限价",
  4414. "type": "integer"
  4415. },
  4416. "quoteid": {
  4417. "description": "报价单ID",
  4418. "type": "integer"
  4419. },
  4420. "relatedid": {
  4421. "description": "关联单号(交割单)",
  4422. "type": "integer"
  4423. },
  4424. "retcode": {
  4425. "description": "错误代码",
  4426. "type": "integer"
  4427. },
  4428. "sessionid": {
  4429. "description": "会话ID",
  4430. "type": "integer"
  4431. },
  4432. "strorderid": {
  4433. "description": "委托单号",
  4434. "type": "string"
  4435. },
  4436. "tradedate": {
  4437. "description": "交易日(yyyyMMdd)",
  4438. "type": "string"
  4439. },
  4440. "tradeproperty": {
  4441. "description": "交易属性",
  4442. "type": "integer"
  4443. },
  4444. "tradeqty": {
  4445. "description": "成交数量",
  4446. "type": "integer"
  4447. },
  4448. "unfreezecharge": {
  4449. "description": "解冻手续费",
  4450. "type": "number"
  4451. },
  4452. "unfreezemargin": {
  4453. "description": "解冻保证金",
  4454. "type": "number"
  4455. },
  4456. "updatetime": {
  4457. "description": "更新时间",
  4458. "type": "string"
  4459. },
  4460. "uuid": {
  4461. "description": "发起端唯一id",
  4462. "type": "string"
  4463. },
  4464. "validtime": {
  4465. "description": "有效期限",
  4466. "type": "string"
  4467. },
  4468. "validtype": {
  4469. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  4470. "type": "integer"
  4471. },
  4472. "volumetype": {
  4473. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  4474. "type": "integer"
  4475. }
  4476. }
  4477. },
  4478. "cptrade.QueryMyCPTradeGoodsRsp": {
  4479. "type": "object",
  4480. "required": [
  4481. "goodscode",
  4482. "goodsid",
  4483. "goodsname",
  4484. "marketid",
  4485. "relatedgoodscode",
  4486. "relatedgoodsname"
  4487. ],
  4488. "properties": {
  4489. "accountid": {
  4490. "description": "卖方账户ID",
  4491. "type": "integer"
  4492. },
  4493. "agreeunit": {
  4494. "description": "合约单位",
  4495. "type": "number"
  4496. },
  4497. "applyid": {
  4498. "description": "关联申请ID",
  4499. "type": "integer"
  4500. },
  4501. "attachmenturl": {
  4502. "description": "附件地址",
  4503. "type": "string"
  4504. },
  4505. "createtime": {
  4506. "description": "创建时间",
  4507. "type": "string"
  4508. },
  4509. "currencyid": {
  4510. "description": "报价货币ID",
  4511. "type": "integer"
  4512. },
  4513. "decimalplace": {
  4514. "description": "报价小数位",
  4515. "type": "integer"
  4516. },
  4517. "endtime": {
  4518. "description": "预售结束时间",
  4519. "type": "string"
  4520. },
  4521. "floorprice": {
  4522. "description": "底价[大宗式竞拍]",
  4523. "type": "number"
  4524. },
  4525. "goodscode": {
  4526. "description": "商品代码(预售)",
  4527. "type": "string"
  4528. },
  4529. "goodsdetail": {
  4530. "description": "详情[大宗]",
  4531. "type": "string"
  4532. },
  4533. "goodsid": {
  4534. "description": "商品ID(自增ID SEQ_GOODS)",
  4535. "type": "integer"
  4536. },
  4537. "goodsname": {
  4538. "description": "商品名称(预售)",
  4539. "type": "string"
  4540. },
  4541. "goodunit": {
  4542. "description": "报价单位",
  4543. "type": "string"
  4544. },
  4545. "goodunitid": {
  4546. "description": "报价单位ID",
  4547. "type": "integer"
  4548. },
  4549. "marketid": {
  4550. "description": "所属市场ID",
  4551. "type": "integer"
  4552. },
  4553. "marketname": {
  4554. "description": "预售市场名称",
  4555. "type": "string"
  4556. },
  4557. "presaledamount": {
  4558. "description": "已预售总金额(预售结束时更新)",
  4559. "type": "number"
  4560. },
  4561. "presaledqty": {
  4562. "description": "已预售量(预售结束时更新)",
  4563. "type": "integer"
  4564. },
  4565. "presalemode": {
  4566. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  4567. "type": "integer"
  4568. },
  4569. "presaleqty": {
  4570. "description": "预售数量",
  4571. "type": "integer"
  4572. },
  4573. "refprice": {
  4574. "description": "参考价格[一口价]",
  4575. "type": "number"
  4576. },
  4577. "relatedgoodscode": {
  4578. "description": "商品代码(订单)",
  4579. "type": "string"
  4580. },
  4581. "relatedgoodsid": {
  4582. "description": "关联交易合约ID",
  4583. "type": "integer"
  4584. },
  4585. "relatedgoodsname": {
  4586. "description": "商品名称(订单)",
  4587. "type": "string"
  4588. },
  4589. "relatedmarketid": {
  4590. "description": "关联交易合约市场ID",
  4591. "type": "integer"
  4592. },
  4593. "sellstatus": {
  4594. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  4595. "type": "integer"
  4596. },
  4597. "startprice": {
  4598. "description": "起拍价[大宗式竞拍]",
  4599. "type": "number"
  4600. },
  4601. "starttime": {
  4602. "description": "预售开始时间",
  4603. "type": "string"
  4604. },
  4605. "tradedate": {
  4606. "description": "交易日(yyyyMMdd)",
  4607. "type": "string"
  4608. },
  4609. "tradeprice": {
  4610. "description": "成交价[大宗]",
  4611. "type": "number"
  4612. },
  4613. "userid": {
  4614. "description": "卖方用户ID",
  4615. "type": "integer"
  4616. }
  4617. }
  4618. },
  4619. "cptrade.QueryPresaleGoodsExRsp": {
  4620. "type": "object",
  4621. "required": [
  4622. "goodsid"
  4623. ],
  4624. "properties": {
  4625. "attachmenturl": {
  4626. "description": "附件地址",
  4627. "type": "string"
  4628. },
  4629. "createtime": {
  4630. "description": "创建时间",
  4631. "type": "string"
  4632. },
  4633. "endtime": {
  4634. "description": "预售结束时间",
  4635. "type": "string"
  4636. },
  4637. "floorprice": {
  4638. "description": "底价[大宗式竞拍]",
  4639. "type": "number"
  4640. },
  4641. "goodsdetail": {
  4642. "description": "详情[大宗]",
  4643. "type": "string"
  4644. },
  4645. "goodsid": {
  4646. "description": "商品ID(预售)",
  4647. "type": "integer"
  4648. },
  4649. "goodunit": {
  4650. "description": "报价单位",
  4651. "type": "string"
  4652. },
  4653. "marketid": {
  4654. "description": "预售市场ID - 根据预售模式选择市场",
  4655. "type": "integer"
  4656. },
  4657. "presaledamount": {
  4658. "description": "已预售总金额(预售结束时更新)",
  4659. "type": "number"
  4660. },
  4661. "presaledqty": {
  4662. "description": "已预售量(预售结束时更新)",
  4663. "type": "integer"
  4664. },
  4665. "presalemode": {
  4666. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  4667. "type": "integer"
  4668. },
  4669. "presaleqty": {
  4670. "description": "预售数量",
  4671. "type": "integer"
  4672. },
  4673. "refprice": {
  4674. "description": "参考价格[一口价]",
  4675. "type": "number"
  4676. },
  4677. "relatedgoodsid": {
  4678. "description": "关联交易合约ID",
  4679. "type": "integer"
  4680. },
  4681. "relatedmarketid": {
  4682. "description": "关联交易合约市场ID",
  4683. "type": "integer"
  4684. },
  4685. "sellstatus": {
  4686. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  4687. "type": "integer"
  4688. },
  4689. "startprice": {
  4690. "description": "起拍价[大宗式竞拍]",
  4691. "type": "number"
  4692. },
  4693. "starttime": {
  4694. "description": "预售开始时间",
  4695. "type": "string"
  4696. },
  4697. "tradedate": {
  4698. "description": "交易日(yyyyMMdd)",
  4699. "type": "string"
  4700. },
  4701. "tradeprice": {
  4702. "description": "成交价[大宗]",
  4703. "type": "number"
  4704. }
  4705. }
  4706. },
  4707. "delivery.QueryDeliveryRelationRsp": {
  4708. "type": "object",
  4709. "required": [
  4710. "begindate",
  4711. "enddate",
  4712. "goodsid",
  4713. "mindeliveryqty",
  4714. "xdeliveryratio"
  4715. ],
  4716. "properties": {
  4717. "begindate": {
  4718. "description": "起始日期(yyyyMMdd)",
  4719. "type": "string"
  4720. },
  4721. "buytemplateid": {
  4722. "description": "买履约计划模板ID",
  4723. "type": "integer"
  4724. },
  4725. "deliverygoodscode": {
  4726. "description": "品种代码",
  4727. "type": "string"
  4728. },
  4729. "deliverygoodsid": {
  4730. "description": "交割商品",
  4731. "type": "integer"
  4732. },
  4733. "deliverygoodsname": {
  4734. "description": "品种名称",
  4735. "type": "string"
  4736. },
  4737. "deliverymode": {
  4738. "description": "交割方式 - 1:点选式 2:申报式",
  4739. "type": "integer"
  4740. },
  4741. "deliverypricerule": {
  4742. "description": "交割价规则- 1:行情价 2:建仓价",
  4743. "type": "integer"
  4744. },
  4745. "deliverytype": {
  4746. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  4747. "type": "integer"
  4748. },
  4749. "enddate": {
  4750. "description": "结束日期(yyyyMMdd)",
  4751. "type": "string"
  4752. },
  4753. "goodscode": {
  4754. "description": "商品代码",
  4755. "type": "string"
  4756. },
  4757. "goodsid": {
  4758. "description": "交易合约ID",
  4759. "type": "integer"
  4760. },
  4761. "goodsname": {
  4762. "description": "商品名称",
  4763. "type": "string"
  4764. },
  4765. "marketid": {
  4766. "description": "市场ID",
  4767. "type": "integer"
  4768. },
  4769. "mindeliveryqty": {
  4770. "description": "最小交割系数(K)",
  4771. "type": "integer"
  4772. },
  4773. "p2deliveryprice": {
  4774. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  4775. "type": "number"
  4776. },
  4777. "p2deliveryratio": {
  4778. "description": "P2合约系数(p)",
  4779. "type": "integer"
  4780. },
  4781. "p2goodsid": {
  4782. "description": "P2合约ID",
  4783. "type": "integer"
  4784. },
  4785. "p2pricemode": {
  4786. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  4787. "type": "integer"
  4788. },
  4789. "pdeliveryprice": {
  4790. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  4791. "type": "number"
  4792. },
  4793. "pdeliveryratio": {
  4794. "description": "P合约系数(n)",
  4795. "type": "integer"
  4796. },
  4797. "pgoodsid": {
  4798. "description": "P合约ID",
  4799. "type": "integer"
  4800. },
  4801. "ppricemode": {
  4802. "description": "P合约价格方式 - 1:商品价 2:固定值",
  4803. "type": "integer"
  4804. },
  4805. "rratio": {
  4806. "description": "兑换系数(R)",
  4807. "type": "integer"
  4808. },
  4809. "rratio1": {
  4810. "description": "兑换系数(交易合约)(R1)",
  4811. "type": "integer"
  4812. },
  4813. "rratio2": {
  4814. "description": "兑换系数(仓单标准)(R2)",
  4815. "type": "integer"
  4816. },
  4817. "selltemplateid": {
  4818. "description": "卖履约计划模板ID",
  4819. "type": "integer"
  4820. },
  4821. "wrstandardid": {
  4822. "description": "仓单标准ID",
  4823. "type": "integer"
  4824. },
  4825. "xdeliveryratio": {
  4826. "description": "交易合约系数(m)",
  4827. "type": "integer"
  4828. }
  4829. }
  4830. },
  4831. "erms2.QueryArbitrageStrategyRsp": {
  4832. "type": "object",
  4833. "required": [
  4834. "asapplyid"
  4835. ],
  4836. "properties": {
  4837. "applybasis": {
  4838. "description": "申请基差",
  4839. "type": "number"
  4840. },
  4841. "asapplyid": {
  4842. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  4843. "type": "string"
  4844. },
  4845. "asname": {
  4846. "description": "策略名称",
  4847. "type": "string"
  4848. },
  4849. "asno": {
  4850. "description": "策略编号",
  4851. "type": "string"
  4852. },
  4853. "basischangepl": {
  4854. "description": "基差变动损益[结算更新]",
  4855. "type": "number"
  4856. },
  4857. "biztype": {
  4858. "description": "业务类型 - 1:正向套利 -1:反向套利",
  4859. "type": "integer"
  4860. },
  4861. "closetradedate": {
  4862. "description": "完结交易日(yyyyMMdd)",
  4863. "type": "string"
  4864. },
  4865. "curbasis": {
  4866. "description": "当前基差[结算更新]",
  4867. "type": "number"
  4868. },
  4869. "deliverygoodsid": {
  4870. "description": "现货品种ID",
  4871. "type": "integer"
  4872. },
  4873. "futureavgprice": {
  4874. "description": "期货建仓均价",
  4875. "type": "number"
  4876. },
  4877. "futurecloseamount": {
  4878. "description": "期货平仓金额",
  4879. "type": "number"
  4880. },
  4881. "futurecloseqty": {
  4882. "description": "期货平仓数量",
  4883. "type": "number"
  4884. },
  4885. "futureopenamount": {
  4886. "description": "期货开仓金额",
  4887. "type": "number"
  4888. },
  4889. "futureopenqty": {
  4890. "description": "期货开仓数量",
  4891. "type": "number"
  4892. },
  4893. "futurepl": {
  4894. "description": "期货总盈亏[结算更新]",
  4895. "type": "number"
  4896. },
  4897. "futureqty": {
  4898. "description": "期货持仓数量",
  4899. "type": "number"
  4900. },
  4901. "futurequote": {
  4902. "description": "期货额度",
  4903. "type": "number"
  4904. },
  4905. "goodsgroupid": {
  4906. "description": "期货品种ID",
  4907. "type": "integer"
  4908. },
  4909. "marketid": {
  4910. "description": "市场ID",
  4911. "type": "integer"
  4912. },
  4913. "netexposure": {
  4914. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  4915. "type": "number"
  4916. },
  4917. "netexposurepl": {
  4918. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  4919. "type": "number"
  4920. },
  4921. "netexposurerate": {
  4922. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  4923. "type": "number"
  4924. },
  4925. "openbasis": {
  4926. "description": "建仓基差",
  4927. "type": "number"
  4928. },
  4929. "pricedspotqty": {
  4930. "description": "已定价现货数量",
  4931. "type": "number"
  4932. },
  4933. "pricedspotqtynotax": {
  4934. "description": "已定价现货不含税数量",
  4935. "type": "number"
  4936. },
  4937. "remark": {
  4938. "description": "备注",
  4939. "type": "string"
  4940. },
  4941. "spotavgprice": {
  4942. "description": "现货均价",
  4943. "type": "number"
  4944. },
  4945. "spotbuyamount": {
  4946. "description": "现货采购金额",
  4947. "type": "number"
  4948. },
  4949. "spotbuyqty": {
  4950. "description": "现货采购数量",
  4951. "type": "number"
  4952. },
  4953. "spotpl": {
  4954. "description": "现货总盈亏[结算更新]",
  4955. "type": "number"
  4956. },
  4957. "spotquota": {
  4958. "description": "现货额度",
  4959. "type": "number"
  4960. },
  4961. "spotsellamount": {
  4962. "description": "现货销售金额",
  4963. "type": "number"
  4964. },
  4965. "spotsellqty": {
  4966. "description": "现货销售数量",
  4967. "type": "number"
  4968. },
  4969. "spotusedquota": {
  4970. "description": "现货占用资金",
  4971. "type": "number"
  4972. },
  4973. "strategystatus": {
  4974. "description": "策略状态 - 0:未结束 1:已结束",
  4975. "type": "integer"
  4976. },
  4977. "totalpl": {
  4978. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  4979. "type": "number"
  4980. },
  4981. "tradedate": {
  4982. "description": "交易日(yyyyMMdd)",
  4983. "type": "string"
  4984. },
  4985. "updatetime": {
  4986. "description": "更新时间",
  4987. "type": "string"
  4988. },
  4989. "usedquota": {
  4990. "description": "已占用资金",
  4991. "type": "number"
  4992. },
  4993. "userid": {
  4994. "description": "所属机构",
  4995. "type": "integer"
  4996. }
  4997. }
  4998. },
  4999. "erms2.QueryInnerTradeDetailRsp": {
  5000. "type": "object",
  5001. "required": [
  5002. "asapplyid",
  5003. "buyorsell",
  5004. "goodscode",
  5005. "goodsgroupid",
  5006. "goodsgroupname",
  5007. "goodsname",
  5008. "tradeid"
  5009. ],
  5010. "properties": {
  5011. "accountid": {
  5012. "description": "账号ID",
  5013. "type": "integer"
  5014. },
  5015. "agreeunit": {
  5016. "description": "合约单位",
  5017. "type": "number"
  5018. },
  5019. "asapplyid": {
  5020. "description": "策略申请ID",
  5021. "type": "integer"
  5022. },
  5023. "asname": {
  5024. "description": "策略名称",
  5025. "type": "string"
  5026. },
  5027. "asno": {
  5028. "description": "策略编号",
  5029. "type": "string"
  5030. },
  5031. "buyorsell": {
  5032. "description": "方向 - 0:买 1:卖",
  5033. "type": "integer"
  5034. },
  5035. "channelbuildtype": {
  5036. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  5037. "type": "integer"
  5038. },
  5039. "closetype": {
  5040. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  5041. "type": "integer"
  5042. },
  5043. "decimalplace": {
  5044. "description": "报价小数位",
  5045. "type": "integer"
  5046. },
  5047. "detailtype": {
  5048. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  5049. "type": "integer"
  5050. },
  5051. "exexchangecode": {
  5052. "description": "外部交易所代码",
  5053. "type": "string"
  5054. },
  5055. "exexchangename": {
  5056. "description": "外部交易所名称",
  5057. "type": "string"
  5058. },
  5059. "goodscode": {
  5060. "description": "商品代码(合约)",
  5061. "type": "string"
  5062. },
  5063. "goodsgroupid": {
  5064. "description": "商品组ID(品种ID)",
  5065. "type": "integer"
  5066. },
  5067. "goodsgroupname": {
  5068. "description": "商品组名称(品种)",
  5069. "type": "string"
  5070. },
  5071. "goodsid": {
  5072. "description": "商品ID",
  5073. "type": "integer"
  5074. },
  5075. "goodsname": {
  5076. "description": "商品名称(合约)",
  5077. "type": "string"
  5078. },
  5079. "goodunit": {
  5080. "description": "报价单位",
  5081. "type": "string"
  5082. },
  5083. "marketid": {
  5084. "description": "市场ID",
  5085. "type": "integer"
  5086. },
  5087. "orderid": {
  5088. "description": "委托单号",
  5089. "type": "string"
  5090. },
  5091. "outgoodscode": {
  5092. "description": "商品代码(外部)",
  5093. "type": "string"
  5094. },
  5095. "relatedouttradeid": {
  5096. "description": "关联外部成交单ID",
  5097. "type": "string"
  5098. },
  5099. "remark": {
  5100. "description": "备注",
  5101. "type": "string"
  5102. },
  5103. "spotcontractid": {
  5104. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  5105. "type": "integer"
  5106. },
  5107. "spotcontractno": {
  5108. "description": "现货合同编号",
  5109. "type": "string"
  5110. },
  5111. "tradeid": {
  5112. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  5113. "type": "string"
  5114. },
  5115. "tradeprice": {
  5116. "description": "成交价格",
  5117. "type": "number"
  5118. },
  5119. "tradeqty": {
  5120. "description": "成交数量",
  5121. "type": "integer"
  5122. },
  5123. "tradetime": {
  5124. "description": "成交时间",
  5125. "type": "string"
  5126. },
  5127. "updatetime": {
  5128. "description": "更新时间",
  5129. "type": "string"
  5130. }
  5131. }
  5132. },
  5133. "erms2.QuerySpotContractRsp": {
  5134. "type": "object",
  5135. "required": [
  5136. "spotcontractid"
  5137. ],
  5138. "properties": {
  5139. "accountid": {
  5140. "description": "资金账户ID",
  5141. "type": "integer"
  5142. },
  5143. "areauserid": {
  5144. "description": "所属机构",
  5145. "type": "integer"
  5146. },
  5147. "closedate": {
  5148. "description": "终止日期",
  5149. "type": "string"
  5150. },
  5151. "closeremark": {
  5152. "description": "结束备注",
  5153. "type": "string"
  5154. },
  5155. "closetradedate": {
  5156. "description": "完结交易日(yyyyMMdd)",
  5157. "type": "string"
  5158. },
  5159. "closetype": {
  5160. "description": "终止类型 - 1:违约 2:提前终止",
  5161. "type": "integer"
  5162. },
  5163. "contractamount": {
  5164. "description": "合同金额",
  5165. "type": "number"
  5166. },
  5167. "contractattachment": {
  5168. "description": "合同附件",
  5169. "type": "string"
  5170. },
  5171. "contractno": {
  5172. "description": "现货合同编号",
  5173. "type": "string"
  5174. },
  5175. "contractqty": {
  5176. "description": "合同数量(数值) (用于计算)",
  5177. "type": "number"
  5178. },
  5179. "contractqtychar": {
  5180. "description": "合同数量\\已订价数量 (用于显示)",
  5181. "type": "string"
  5182. },
  5183. "contractstatus": {
  5184. "description": "合同状态 - 0:未结束 1:已结束",
  5185. "type": "integer"
  5186. },
  5187. "contracttype": {
  5188. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  5189. "type": "integer"
  5190. },
  5191. "customeraccountid": {
  5192. "description": "客户资金账户ID",
  5193. "type": "integer"
  5194. },
  5195. "customeruserid": {
  5196. "description": "客户ID",
  5197. "type": "integer"
  5198. },
  5199. "deliverygoodsdesc": {
  5200. "description": "品种说明",
  5201. "type": "string"
  5202. },
  5203. "deliverygoodsid": {
  5204. "description": "现货品种ID",
  5205. "type": "integer"
  5206. },
  5207. "handlestatus": {
  5208. "description": "处理状态",
  5209. "type": "integer"
  5210. },
  5211. "invoiceatt": {
  5212. "description": "发票附件",
  5213. "type": "string"
  5214. },
  5215. "invoicedatetime": {
  5216. "description": "开收票更新时间",
  5217. "type": "string"
  5218. },
  5219. "invoiceopentime": {
  5220. "description": "开票时间",
  5221. "type": "string"
  5222. },
  5223. "invoiceremark": {
  5224. "description": "发票备注",
  5225. "type": "string"
  5226. },
  5227. "invoicestatus": {
  5228. "description": "开收票状态 - 0:未开票 1:已开票",
  5229. "type": "integer"
  5230. },
  5231. "lastdate": {
  5232. "description": "交货时间",
  5233. "type": "string"
  5234. },
  5235. "marketid": {
  5236. "description": "市场ID",
  5237. "type": "integer"
  5238. },
  5239. "paydatetime": {
  5240. "description": "收付款更新时间",
  5241. "type": "string"
  5242. },
  5243. "payremark": {
  5244. "description": "收付款备注",
  5245. "type": "string"
  5246. },
  5247. "paystatus": {
  5248. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  5249. "type": "integer"
  5250. },
  5251. "positionqty": {
  5252. "description": "头寸数量 - 合同数量去小数部分",
  5253. "type": "integer"
  5254. },
  5255. "producttype": {
  5256. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  5257. "type": "integer"
  5258. },
  5259. "relatedqty": {
  5260. "description": "已关联数量",
  5261. "type": "number"
  5262. },
  5263. "relatedstatus": {
  5264. "description": "关联完结状态 - 0:未结束 1:已结束",
  5265. "type": "integer"
  5266. },
  5267. "remark": {
  5268. "description": "备注",
  5269. "type": "string"
  5270. },
  5271. "signdate": {
  5272. "description": "签订日期",
  5273. "type": "string"
  5274. },
  5275. "spotcontractid": {
  5276. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  5277. "type": "string"
  5278. },
  5279. "spotdatetime": {
  5280. "description": "收发货更新时间",
  5281. "type": "string"
  5282. },
  5283. "spotprice": {
  5284. "description": "价格",
  5285. "type": "number"
  5286. },
  5287. "spotremark": {
  5288. "description": "收发货备注",
  5289. "type": "string"
  5290. },
  5291. "spotstatus": {
  5292. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  5293. "type": "integer"
  5294. },
  5295. "tradedate": {
  5296. "description": "交易日(yyyyMMdd)",
  5297. "type": "string"
  5298. },
  5299. "userid": {
  5300. "description": "业务员用户ID",
  5301. "type": "integer"
  5302. },
  5303. "warehouseid": {
  5304. "description": "仓库ID",
  5305. "type": "integer"
  5306. },
  5307. "wrfactortypeid": {
  5308. "description": "仓单要素类型ID",
  5309. "type": "integer"
  5310. },
  5311. "wrstandardid": {
  5312. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  5313. "type": "integer"
  5314. }
  5315. }
  5316. },
  5317. "erms3.AddErms2ASApplyReq": {
  5318. "type": "object",
  5319. "required": [
  5320. "asapplyid"
  5321. ],
  5322. "properties": {
  5323. "applybasis": {
  5324. "description": "申请基差",
  5325. "type": "number"
  5326. },
  5327. "applystatus": {
  5328. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  5329. "type": "integer"
  5330. },
  5331. "asapplyid": {
  5332. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  5333. "type": "integer"
  5334. },
  5335. "asname": {
  5336. "description": "策略名称",
  5337. "type": "string"
  5338. },
  5339. "asno": {
  5340. "description": "策略编号",
  5341. "type": "string"
  5342. },
  5343. "auditid": {
  5344. "description": "审核人",
  5345. "type": "integer"
  5346. },
  5347. "auditremark": {
  5348. "description": "审核备注",
  5349. "type": "string"
  5350. },
  5351. "audittime": {
  5352. "description": "审核时间",
  5353. "type": "string"
  5354. },
  5355. "biztype": {
  5356. "description": "业务类型 - 1:正向套利 2:反向套利",
  5357. "type": "integer"
  5358. },
  5359. "createtime": {
  5360. "description": "创建时间",
  5361. "type": "string"
  5362. },
  5363. "creatorid": {
  5364. "description": "创建人",
  5365. "type": "integer"
  5366. },
  5367. "deliverygoodsid": {
  5368. "description": "现货品种ID",
  5369. "type": "integer"
  5370. },
  5371. "futurequote": {
  5372. "description": "期货额度",
  5373. "type": "number"
  5374. },
  5375. "goodsgroupid": {
  5376. "description": "期货品种ID",
  5377. "type": "integer"
  5378. },
  5379. "marketid": {
  5380. "description": "市场ID",
  5381. "type": "integer"
  5382. },
  5383. "remark": {
  5384. "description": "备注",
  5385. "type": "string"
  5386. },
  5387. "spotquota": {
  5388. "description": "现货额度",
  5389. "type": "number"
  5390. },
  5391. "tradedate": {
  5392. "description": "交易日(yyyyMMdd)",
  5393. "type": "string"
  5394. },
  5395. "userid": {
  5396. "description": "所属机构",
  5397. "type": "integer"
  5398. }
  5399. }
  5400. },
  5401. "erms3.AddErms2SpotTradeApplyReq": {
  5402. "type": "object",
  5403. "required": [
  5404. "spottradeid"
  5405. ],
  5406. "properties": {
  5407. "applyjsondetail": {
  5408. "description": "申请明细(JSON)",
  5409. "type": "string"
  5410. },
  5411. "applystatus": {
  5412. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  5413. "type": "integer"
  5414. },
  5415. "areauserid": {
  5416. "description": "所属机构",
  5417. "type": "integer"
  5418. },
  5419. "auditid": {
  5420. "description": "审核人",
  5421. "type": "integer"
  5422. },
  5423. "auditremark": {
  5424. "description": "审核备注",
  5425. "type": "string"
  5426. },
  5427. "audittime": {
  5428. "description": "审核时间",
  5429. "type": "string"
  5430. },
  5431. "createtime": {
  5432. "description": "创建时间",
  5433. "type": "string"
  5434. },
  5435. "creatorid": {
  5436. "description": "创建人",
  5437. "type": "integer"
  5438. },
  5439. "deliverygoodsid": {
  5440. "description": "现货品种ID",
  5441. "type": "integer"
  5442. },
  5443. "futureaccountid": {
  5444. "description": "期货资金账户",
  5445. "type": "integer"
  5446. },
  5447. "goodsgroupid": {
  5448. "description": "期货品种",
  5449. "type": "integer"
  5450. },
  5451. "marketid": {
  5452. "description": "市场ID",
  5453. "type": "integer"
  5454. },
  5455. "remark": {
  5456. "description": "备注",
  5457. "type": "string"
  5458. },
  5459. "spotaccountid": {
  5460. "description": "现货资金账户",
  5461. "type": "integer"
  5462. },
  5463. "spottradeid": {
  5464. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  5465. "type": "integer"
  5466. },
  5467. "spottradename": {
  5468. "description": "业务名称",
  5469. "type": "string"
  5470. },
  5471. "spottradeno": {
  5472. "description": "业务编号",
  5473. "type": "string"
  5474. },
  5475. "tradedate": {
  5476. "description": "交易日(yyyyMMdd)",
  5477. "type": "string"
  5478. },
  5479. "wrstandardid": {
  5480. "description": "仓单标准ID",
  5481. "type": "integer"
  5482. }
  5483. }
  5484. },
  5485. "erms3.AddSpotContractApplyReq": {
  5486. "type": "object",
  5487. "required": [
  5488. "accountid",
  5489. "areauserid",
  5490. "contractno",
  5491. "contracttype",
  5492. "customeraccountid",
  5493. "customeruserid",
  5494. "details",
  5495. "orimargin",
  5496. "signdate"
  5497. ],
  5498. "properties": {
  5499. "accountid": {
  5500. "description": "资金账户ID",
  5501. "type": "integer"
  5502. },
  5503. "areauserid": {
  5504. "description": "所属机构",
  5505. "type": "integer"
  5506. },
  5507. "contractattachment": {
  5508. "description": "合同附件",
  5509. "type": "string"
  5510. },
  5511. "contractno": {
  5512. "description": "现货合同编号",
  5513. "type": "string"
  5514. },
  5515. "contracttype": {
  5516. "description": "现货合同类型 - 1:采购 -1:销售",
  5517. "type": "integer"
  5518. },
  5519. "creatorid": {
  5520. "description": "申请人",
  5521. "type": "integer"
  5522. },
  5523. "customeraccountid": {
  5524. "description": "客户资金账户ID",
  5525. "type": "integer"
  5526. },
  5527. "customeruserid": {
  5528. "description": "客户ID",
  5529. "type": "integer"
  5530. },
  5531. "details": {
  5532. "description": "明细",
  5533. "type": "array",
  5534. "items": {
  5535. "$ref": "#/definitions/erms3.SoptContractDetail"
  5536. }
  5537. },
  5538. "orimargin": {
  5539. "description": "初始保证金",
  5540. "type": "number"
  5541. },
  5542. "remark": {
  5543. "description": "备注",
  5544. "type": "string"
  5545. },
  5546. "signdate": {
  5547. "description": "签订日期",
  5548. "type": "string"
  5549. }
  5550. }
  5551. },
  5552. "erms3.AddSpotContractApplyRsp": {
  5553. "type": "object",
  5554. "required": [
  5555. "contractno"
  5556. ],
  5557. "properties": {
  5558. "contractno": {
  5559. "description": "现货合同编号",
  5560. "type": "string"
  5561. },
  5562. "spotcontractid": {
  5563. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  5564. "type": "integer"
  5565. }
  5566. }
  5567. },
  5568. "erms3.AddUserInfoApplyReq": {
  5569. "type": "object",
  5570. "required": [
  5571. "userid"
  5572. ],
  5573. "properties": {
  5574. "accountid": {
  5575. "description": "交易系统帐号Id (加密存储)",
  5576. "type": "integer"
  5577. },
  5578. "areacode": {
  5579. "description": "机构代码",
  5580. "type": "string"
  5581. },
  5582. "areaid": {
  5583. "description": "机构Id",
  5584. "type": "integer"
  5585. },
  5586. "attachment1": {
  5587. "description": "附件1",
  5588. "type": "string"
  5589. },
  5590. "attachment2": {
  5591. "description": "附件2",
  5592. "type": "string"
  5593. },
  5594. "attachment3": {
  5595. "description": "附件3",
  5596. "type": "string"
  5597. },
  5598. "attachment4": {
  5599. "description": "附件4",
  5600. "type": "string"
  5601. },
  5602. "attachment5": {
  5603. "description": "附件5",
  5604. "type": "string"
  5605. },
  5606. "auditedby": {
  5607. "description": "审核人",
  5608. "type": "string"
  5609. },
  5610. "auditime": {
  5611. "description": "审核时间",
  5612. "type": "string"
  5613. },
  5614. "bankaccount": {
  5615. "description": "银行帐号 (加密存储)",
  5616. "type": "string"
  5617. },
  5618. "bankaccountname": {
  5619. "description": "收款人名称",
  5620. "type": "string"
  5621. },
  5622. "bankcardbackphotourl": {
  5623. "description": "银行卡背面照地址",
  5624. "type": "string"
  5625. },
  5626. "bankcardfrontphotourl": {
  5627. "description": "银行卡正面照地址",
  5628. "type": "string"
  5629. },
  5630. "bankid": {
  5631. "description": "银行编码",
  5632. "type": "string"
  5633. },
  5634. "bankname": {
  5635. "description": "银行名称",
  5636. "type": "string"
  5637. },
  5638. "bankpictureurl": {
  5639. "description": "银行卡正面地址",
  5640. "type": "string"
  5641. },
  5642. "biznature": {
  5643. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  5644. "type": "integer"
  5645. },
  5646. "bizscope": {
  5647. "description": "企业经营范围(企业)",
  5648. "type": "string"
  5649. },
  5650. "biztype": {
  5651. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  5652. "type": "integer"
  5653. },
  5654. "brokerid": {
  5655. "description": "经纪人ID(加密存储)",
  5656. "type": "string"
  5657. },
  5658. "cardaddress": {
  5659. "description": "证件地址 (加密存储)",
  5660. "type": "string"
  5661. },
  5662. "cardbackphotourl": {
  5663. "description": "背面证件照地址",
  5664. "type": "string"
  5665. },
  5666. "cardfrontphotourl": {
  5667. "description": "正面证件照地址",
  5668. "type": "string"
  5669. },
  5670. "cardnum": {
  5671. "description": "证件号码 (加密存储)",
  5672. "type": "string"
  5673. },
  5674. "cardtype": {
  5675. "description": "证件类型",
  5676. "type": "integer"
  5677. },
  5678. "cityid": {
  5679. "description": "市",
  5680. "type": "integer"
  5681. },
  5682. "company": {
  5683. "description": "公司(个人)",
  5684. "type": "string"
  5685. },
  5686. "contactcardbackphotourl": {
  5687. "description": "联系人证件背面图片地址",
  5688. "type": "string"
  5689. },
  5690. "contactcardfrontphotourl": {
  5691. "description": "联系人证件正面图片地址",
  5692. "type": "string"
  5693. },
  5694. "contactname": {
  5695. "description": "联系人",
  5696. "type": "string"
  5697. },
  5698. "countryid": {
  5699. "description": "国家",
  5700. "type": "integer"
  5701. },
  5702. "createtime": {
  5703. "description": "开户申请时间",
  5704. "type": "string"
  5705. },
  5706. "cusbankid": {
  5707. "description": "签约类型",
  5708. "type": "string"
  5709. },
  5710. "cusbankname": {
  5711. "description": "签约类型名称",
  5712. "type": "string"
  5713. },
  5714. "customername": {
  5715. "description": "客户名称(企业名称)",
  5716. "type": "string"
  5717. },
  5718. "districtid": {
  5719. "description": "地区",
  5720. "type": "integer"
  5721. },
  5722. "email": {
  5723. "description": "Email地址(加密存储)",
  5724. "type": "string"
  5725. },
  5726. "halfbodyphotourl": {
  5727. "description": "半身照地址",
  5728. "type": "string"
  5729. },
  5730. "headurl": {
  5731. "description": "头像地址",
  5732. "type": "string"
  5733. },
  5734. "ipaddress": {
  5735. "description": "IP地址",
  5736. "type": "string"
  5737. },
  5738. "isvalidate": {
  5739. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  5740. "type": "string"
  5741. },
  5742. "legalcardbackphotourl": {
  5743. "description": "法人身份证背面照地址",
  5744. "type": "string"
  5745. },
  5746. "legalcardfrontphotourl": {
  5747. "description": "法人身份证正面照地址",
  5748. "type": "string"
  5749. },
  5750. "legalpersonname": {
  5751. "description": "法人姓名(企业)",
  5752. "type": "string"
  5753. },
  5754. "logincode": {
  5755. "description": "登录帐号 (加密存储)",
  5756. "type": "string"
  5757. },
  5758. "memberareaid": {
  5759. "description": "所属会员ID",
  5760. "type": "integer"
  5761. },
  5762. "mobile2": {
  5763. "description": "手机号码[明文-尚志]",
  5764. "type": "string"
  5765. },
  5766. "mobilephone": {
  5767. "description": "手机号码 (加密存储)",
  5768. "type": "string"
  5769. },
  5770. "modifiedby": {
  5771. "description": "修改人帐号",
  5772. "type": "integer"
  5773. },
  5774. "modifiedtime": {
  5775. "description": "修改时间",
  5776. "type": "string"
  5777. },
  5778. "nickname": {
  5779. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  5780. "type": "string"
  5781. },
  5782. "openmode": {
  5783. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  5784. "type": "integer"
  5785. },
  5786. "otherurl": {
  5787. "description": "其它图片地址[使用分号分隔]",
  5788. "type": "string"
  5789. },
  5790. "postalcode": {
  5791. "description": "邮政编码",
  5792. "type": "string"
  5793. },
  5794. "provinceid": {
  5795. "description": "省",
  5796. "type": "integer"
  5797. },
  5798. "proxystatementurl": {
  5799. "description": "授权委托书",
  5800. "type": "string"
  5801. },
  5802. "qq": {
  5803. "description": "QQ(加密存储",
  5804. "type": "string"
  5805. },
  5806. "referral": {
  5807. "description": "推荐人编码",
  5808. "type": "string"
  5809. },
  5810. "remark": {
  5811. "description": "备注",
  5812. "type": "string"
  5813. },
  5814. "removebeforestatus": {
  5815. "description": "REMOVEBEFORESTATUS",
  5816. "type": "integer"
  5817. },
  5818. "sex": {
  5819. "description": "性别 - 0:女 1:男",
  5820. "type": "integer"
  5821. },
  5822. "signedstatus": {
  5823. "description": "账户一号签签约状态",
  5824. "type": "integer"
  5825. },
  5826. "signpdfurl": {
  5827. "description": "签约pdf文件",
  5828. "type": "string"
  5829. },
  5830. "subbranch": {
  5831. "description": "开户支行",
  5832. "type": "string"
  5833. },
  5834. "telphone": {
  5835. "description": "联系电话(加密存储)",
  5836. "type": "string"
  5837. },
  5838. "userid": {
  5839. "description": "用户ID(自增ID)",
  5840. "type": "integer"
  5841. },
  5842. "userinfotype": {
  5843. "description": "用户信息类型 - 1:个人 2:企业",
  5844. "type": "integer"
  5845. },
  5846. "username": {
  5847. "description": "用户姓名",
  5848. "type": "string"
  5849. },
  5850. "userstate": {
  5851. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  5852. "type": "integer"
  5853. },
  5854. "usertype": {
  5855. "description": "用户类型 - 1:投资者 2:机构",
  5856. "type": "integer"
  5857. },
  5858. "videourl": {
  5859. "description": "视频地址",
  5860. "type": "string"
  5861. },
  5862. "wechat": {
  5863. "description": "微信号 (加密存储)",
  5864. "type": "string"
  5865. }
  5866. }
  5867. },
  5868. "erms3.CustomerInfo": {
  5869. "type": "object",
  5870. "required": [
  5871. "userid"
  5872. ],
  5873. "properties": {
  5874. "accountids": {
  5875. "description": "资金账户ID列表",
  5876. "type": "array",
  5877. "items": {
  5878. "type": "integer"
  5879. }
  5880. },
  5881. "customername": {
  5882. "description": "名称(企业名称)",
  5883. "type": "string"
  5884. },
  5885. "mobile": {
  5886. "description": "手机号码",
  5887. "type": "string"
  5888. },
  5889. "userid": {
  5890. "description": "用户ID",
  5891. "type": "integer"
  5892. }
  5893. }
  5894. },
  5895. "erms3.QryAuditContractRsp": {
  5896. "type": "object",
  5897. "required": [
  5898. "matchcustomername",
  5899. "spotcontractid"
  5900. ],
  5901. "properties": {
  5902. "accountid": {
  5903. "description": "交易员ID",
  5904. "type": "string"
  5905. },
  5906. "applystatus": {
  5907. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  5908. "type": "integer"
  5909. },
  5910. "curdeliveryqty": {
  5911. "description": "未交收量",
  5912. "type": "integer"
  5913. },
  5914. "customername": {
  5915. "description": "采购方ID",
  5916. "type": "string"
  5917. },
  5918. "deliverygoodsid": {
  5919. "description": "品种ID",
  5920. "type": "string"
  5921. },
  5922. "deliveryqty": {
  5923. "description": "交收量",
  5924. "type": "integer"
  5925. },
  5926. "enumdicname": {
  5927. "description": "单位名称",
  5928. "type": "string"
  5929. },
  5930. "matchaccountid": {
  5931. "description": "业务员ID",
  5932. "type": "string"
  5933. },
  5934. "matchcustomername": {
  5935. "description": "销售方ID",
  5936. "type": "string"
  5937. },
  5938. "pricedqty": {
  5939. "description": "定价量",
  5940. "type": "number"
  5941. },
  5942. "signdate": {
  5943. "description": "签订日期",
  5944. "type": "string"
  5945. },
  5946. "spotcontractid": {
  5947. "description": "合同ID",
  5948. "type": "string"
  5949. },
  5950. "totaldqty": {
  5951. "description": "合同量",
  5952. "type": "number"
  5953. },
  5954. "unpricedqty": {
  5955. "description": "未定价量",
  5956. "type": "number"
  5957. },
  5958. "wrstandardname": {
  5959. "description": "商品名称",
  5960. "type": "string"
  5961. }
  5962. }
  5963. },
  5964. "erms3.QryPendingBizRsp": {
  5965. "type": "object",
  5966. "properties": {
  5967. "accountid": {
  5968. "description": "现货账户",
  5969. "type": "string"
  5970. },
  5971. "areaname": {
  5972. "description": "所属部门",
  5973. "type": "string"
  5974. },
  5975. "bizid": {
  5976. "description": "业务ID",
  5977. "type": "string"
  5978. },
  5979. "bizname": {
  5980. "description": "业务名称",
  5981. "type": "string"
  5982. },
  5983. "status": {
  5984. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  5985. "type": "integer"
  5986. },
  5987. "type": {
  5988. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  5989. "type": "integer"
  5990. }
  5991. }
  5992. },
  5993. "erms3.QueryBusinessInfoRsp": {
  5994. "type": "object",
  5995. "properties": {
  5996. "businessid": {
  5997. "description": "业务ID.",
  5998. "type": "integer"
  5999. },
  6000. "buyamount": {
  6001. "description": "采购额.",
  6002. "type": "number"
  6003. },
  6004. "buyqty": {
  6005. "description": "采购量.",
  6006. "type": "string"
  6007. },
  6008. "futurepl": {
  6009. "description": "期货盈亏.",
  6010. "type": "number"
  6011. },
  6012. "futureqty": {
  6013. "description": "期货敞口.",
  6014. "type": "string"
  6015. },
  6016. "goodsid": {
  6017. "description": "商品名称/商品代码.",
  6018. "type": "string"
  6019. },
  6020. "hedgingqty": {
  6021. "description": "套保量.",
  6022. "type": "string"
  6023. },
  6024. "sellamount": {
  6025. "description": "销售额.",
  6026. "type": "number"
  6027. },
  6028. "sellqty": {
  6029. "description": "销售量.",
  6030. "type": "string"
  6031. },
  6032. "spotmarketvalue": {
  6033. "description": "现货市值.",
  6034. "type": "number"
  6035. },
  6036. "spotpl": {
  6037. "description": "浮动权益.",
  6038. "type": "number"
  6039. },
  6040. "spotqty": {
  6041. "description": "现货量.",
  6042. "type": "string"
  6043. },
  6044. "statu": {
  6045. "description": "状态,0-未结束 1-已结束.",
  6046. "type": "integer"
  6047. },
  6048. "totalpl": {
  6049. "description": "总盈亏.",
  6050. "type": "number"
  6051. },
  6052. "totalqty": {
  6053. "description": "总敞口.",
  6054. "type": "string"
  6055. },
  6056. "type": {
  6057. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  6058. "type": "integer"
  6059. }
  6060. }
  6061. },
  6062. "erms3.QuerySpotContractAppleFormRsp": {
  6063. "type": "object",
  6064. "properties": {
  6065. "goodses": {
  6066. "description": "合约列表",
  6067. "type": "array",
  6068. "items": {
  6069. "$ref": "#/definitions/models.GoodsIDAndName"
  6070. }
  6071. },
  6072. "oppositeusers": {
  6073. "description": "对方账号列表",
  6074. "type": "array",
  6075. "items": {
  6076. "$ref": "#/definitions/erms3.CustomerInfo"
  6077. }
  6078. },
  6079. "ouruser": {
  6080. "description": "我方账号",
  6081. "$ref": "#/definitions/erms3.CustomerInfo"
  6082. },
  6083. "warehouseinfos": {
  6084. "description": "仓库信息列表",
  6085. "type": "array",
  6086. "items": {
  6087. "$ref": "#/definitions/models.Warehouseinfo"
  6088. }
  6089. },
  6090. "wrstandards": {
  6091. "description": "仓单标准列表",
  6092. "type": "array",
  6093. "items": {
  6094. "$ref": "#/definitions/models.WRStandardInfo"
  6095. }
  6096. }
  6097. }
  6098. },
  6099. "erms3.QuerySpotContractInfoRsp": {
  6100. "type": "object",
  6101. "properties": {
  6102. "accountid": {
  6103. "description": "表示交易员ID.",
  6104. "type": "integer"
  6105. },
  6106. "curdeliveryqty": {
  6107. "description": "表示未交收量.",
  6108. "type": "number"
  6109. },
  6110. "customername": {
  6111. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  6112. "type": "string"
  6113. },
  6114. "deliverygoodsid": {
  6115. "description": "表示品种ID.",
  6116. "type": "string"
  6117. },
  6118. "deliveryqty": {
  6119. "description": "表示交收量.",
  6120. "type": "number"
  6121. },
  6122. "matchaccountid": {
  6123. "description": "表示业务员ID.",
  6124. "type": "integer"
  6125. },
  6126. "matchcustomername": {
  6127. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  6128. "type": "string"
  6129. },
  6130. "priceqty": {
  6131. "description": "表示定价量.",
  6132. "type": "number"
  6133. },
  6134. "relatedbizid": {
  6135. "description": "表示业务ID.",
  6136. "type": "string"
  6137. },
  6138. "signdate": {
  6139. "description": "表示签订日期.",
  6140. "type": "string"
  6141. },
  6142. "spotcontractid": {
  6143. "description": "合同ID",
  6144. "type": "string"
  6145. },
  6146. "status": {
  6147. "description": "表示状态,0-履约中 1-已完成.",
  6148. "type": "integer"
  6149. },
  6150. "totalqty": {
  6151. "description": "表示合同量.",
  6152. "type": "number"
  6153. },
  6154. "unpricedqty": {
  6155. "description": "表示未定价量.",
  6156. "type": "number"
  6157. },
  6158. "wrstandardname": {
  6159. "description": "表示商品ID.",
  6160. "type": "string"
  6161. }
  6162. }
  6163. },
  6164. "erms3.QueryUserInfoAppliesRsp": {
  6165. "type": "object",
  6166. "required": [
  6167. "userid"
  6168. ],
  6169. "properties": {
  6170. "biznature": {
  6171. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  6172. "type": "integer"
  6173. },
  6174. "contactname": {
  6175. "description": "联系人",
  6176. "type": "string"
  6177. },
  6178. "createtime": {
  6179. "description": "开户申请时间",
  6180. "type": "string"
  6181. },
  6182. "userid": {
  6183. "description": "用户ID(自增ID)",
  6184. "type": "integer"
  6185. },
  6186. "userinfotype": {
  6187. "description": "用户信息类型 - 1:个人 2:企业",
  6188. "type": "integer"
  6189. },
  6190. "username": {
  6191. "description": "用户姓名",
  6192. "type": "string"
  6193. },
  6194. "userstate": {
  6195. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  6196. "type": "integer"
  6197. }
  6198. }
  6199. },
  6200. "erms3.QueryUserInfosRsp": {
  6201. "type": "object",
  6202. "required": [
  6203. "userid"
  6204. ],
  6205. "properties": {
  6206. "biznature": {
  6207. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  6208. "type": "integer"
  6209. },
  6210. "contactname": {
  6211. "description": "联系人",
  6212. "type": "string"
  6213. },
  6214. "customername": {
  6215. "description": "客户名称(企业名称)",
  6216. "type": "string"
  6217. },
  6218. "userid": {
  6219. "description": "用户ID",
  6220. "type": "integer"
  6221. },
  6222. "userinfotype": {
  6223. "description": "用户信息类型 - 1:个人 2:企业",
  6224. "type": "integer"
  6225. },
  6226. "userstatus": {
  6227. "description": "用户状态 - 1:正常 2:注销",
  6228. "type": "integer"
  6229. }
  6230. }
  6231. },
  6232. "erms3.SoptContractDetail": {
  6233. "type": "object",
  6234. "required": [
  6235. "deliverygoodsid",
  6236. "producttype",
  6237. "unitname",
  6238. "warehouseid",
  6239. "wrstandardid",
  6240. "wrstandardname"
  6241. ],
  6242. "properties": {
  6243. "deliverygoodsdesc": {
  6244. "description": "现货品种说明",
  6245. "type": "string"
  6246. },
  6247. "deliverygoodsid": {
  6248. "description": "现货品种ID",
  6249. "type": "integer"
  6250. },
  6251. "deliverygoodsname": {
  6252. "description": "现货品种名称",
  6253. "type": "string"
  6254. },
  6255. "pointdesc": {
  6256. "description": "点价描述",
  6257. "type": "string"
  6258. },
  6259. "producttype": {
  6260. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  6261. "type": "integer"
  6262. },
  6263. "producttypename": {
  6264. "description": "产品类型名称",
  6265. "type": "string"
  6266. },
  6267. "spotPointOrderVoList": {
  6268. "description": "点价列表",
  6269. "type": "array",
  6270. "items": {
  6271. "$ref": "#/definitions/erms3.SpotPointOrder"
  6272. }
  6273. },
  6274. "spotPriceOrderList": {
  6275. "description": "定价列表",
  6276. "type": "array",
  6277. "items": {
  6278. "$ref": "#/definitions/erms3.SpotPriceOrder"
  6279. }
  6280. },
  6281. "unitname": {
  6282. "description": "单位名称",
  6283. "type": "string"
  6284. },
  6285. "warehouseid": {
  6286. "description": "仓库ID",
  6287. "type": "integer"
  6288. },
  6289. "warehousename": {
  6290. "description": "仓库名称",
  6291. "type": "string"
  6292. },
  6293. "wrstandardid": {
  6294. "description": "交易标的ID",
  6295. "type": "integer"
  6296. },
  6297. "wrstandardname": {
  6298. "description": "交易标的名称",
  6299. "type": "string"
  6300. }
  6301. }
  6302. },
  6303. "erms3.SpotPointOrder": {
  6304. "type": "object",
  6305. "required": [
  6306. "basic",
  6307. "goodsid",
  6308. "qty"
  6309. ],
  6310. "properties": {
  6311. "basic": {
  6312. "description": "基差",
  6313. "type": "number"
  6314. },
  6315. "deliveryenddate": {
  6316. "description": "交收结束日期",
  6317. "type": "string"
  6318. },
  6319. "deliverystartdate": {
  6320. "description": "交收开始日期",
  6321. "type": "string"
  6322. },
  6323. "enddate": {
  6324. "description": "点价结束日期",
  6325. "type": "string"
  6326. },
  6327. "goodsid": {
  6328. "description": "商品ID",
  6329. "type": "integer"
  6330. },
  6331. "goodsname": {
  6332. "description": "商品名称",
  6333. "type": "string"
  6334. },
  6335. "qty": {
  6336. "description": "数量",
  6337. "type": "number"
  6338. },
  6339. "startdate": {
  6340. "description": "点价开始日期",
  6341. "type": "string"
  6342. }
  6343. }
  6344. },
  6345. "erms3.SpotPriceOrder": {
  6346. "type": "object",
  6347. "required": [
  6348. "amount",
  6349. "price",
  6350. "qty"
  6351. ],
  6352. "properties": {
  6353. "amount": {
  6354. "description": "金额",
  6355. "type": "number"
  6356. },
  6357. "deliveryenddate": {
  6358. "description": "交收结束日期",
  6359. "type": "string"
  6360. },
  6361. "deliverystartdate": {
  6362. "description": "交收开始日期",
  6363. "type": "string"
  6364. },
  6365. "price": {
  6366. "description": "价格",
  6367. "type": "number"
  6368. },
  6369. "qty": {
  6370. "description": "数量",
  6371. "type": "number"
  6372. }
  6373. }
  6374. },
  6375. "hsby.GetHsbyMyCountRsp": {
  6376. "type": "object",
  6377. "properties": {
  6378. "myOrderDetailListingCount": {
  6379. "description": "我的订单求购中数量",
  6380. "type": "integer"
  6381. },
  6382. "myOrderDetailPreCount": {
  6383. "description": "我的订单抢购中数量",
  6384. "type": "integer"
  6385. },
  6386. "myPackageUnReceiveCount": {
  6387. "description": "我的包裹待收货数量",
  6388. "type": "integer"
  6389. },
  6390. "myPackageUnSendCount": {
  6391. "description": "我的包裹待发货数量",
  6392. "type": "integer"
  6393. },
  6394. "myPayOrderCount": {
  6395. "description": "我的订单待付款数量",
  6396. "type": "integer"
  6397. }
  6398. }
  6399. },
  6400. "hsby.QueryProvincesAndCitiesRsp": {
  6401. "type": "object",
  6402. "properties": {
  6403. "cities": {
  6404. "description": "市",
  6405. "type": "array",
  6406. "items": {
  6407. "$ref": "#/definitions/models.Division"
  6408. }
  6409. },
  6410. "province": {
  6411. "description": "省",
  6412. "$ref": "#/definitions/models.Division"
  6413. }
  6414. }
  6415. },
  6416. "models.Division": {
  6417. "type": "object",
  6418. "required": [
  6419. "autoid",
  6420. "divisioncode"
  6421. ],
  6422. "properties": {
  6423. "autoid": {
  6424. "description": "自增ID",
  6425. "type": "integer"
  6426. },
  6427. "divisioncode": {
  6428. "description": "行政代码",
  6429. "type": "string"
  6430. },
  6431. "divisionlevel": {
  6432. "description": "行政级别",
  6433. "type": "string"
  6434. },
  6435. "divisionname": {
  6436. "description": "行政名称",
  6437. "type": "string"
  6438. },
  6439. "modifierid": {
  6440. "description": "修改人",
  6441. "type": "integer"
  6442. },
  6443. "modifytime": {
  6444. "description": "修改时间",
  6445. "type": "string"
  6446. },
  6447. "parentcode": {
  6448. "description": "上级行政代码",
  6449. "type": "string"
  6450. },
  6451. "pathname": {
  6452. "description": "路径名称",
  6453. "type": "string"
  6454. },
  6455. "postcode": {
  6456. "description": "邮政编码",
  6457. "type": "string"
  6458. },
  6459. "separablename": {
  6460. "description": "可拆分的全称",
  6461. "type": "string"
  6462. },
  6463. "shortcode": {
  6464. "description": "地区简码",
  6465. "type": "string"
  6466. }
  6467. }
  6468. },
  6469. "models.Enumdicitem": {
  6470. "type": "object",
  6471. "required": [
  6472. "autoid",
  6473. "enumdiccode",
  6474. "enumdicid",
  6475. "enumitemname"
  6476. ],
  6477. "properties": {
  6478. "autoid": {
  6479. "description": "自增ID",
  6480. "type": "integer"
  6481. },
  6482. "bankmappedvalue": {
  6483. "description": "银行服务对应值",
  6484. "type": "string"
  6485. },
  6486. "enumdiccode": {
  6487. "description": "所属枚举代码",
  6488. "type": "string"
  6489. },
  6490. "enumdicid": {
  6491. "description": "所属枚举ID",
  6492. "type": "integer"
  6493. },
  6494. "enumdicname": {
  6495. "description": "枚举项名称",
  6496. "type": "string"
  6497. },
  6498. "enumitemname": {
  6499. "description": "枚举项值",
  6500. "type": "integer"
  6501. },
  6502. "enumitemstatus": {
  6503. "description": "枚举项状态 - 1.启用 2.不启用",
  6504. "type": "integer"
  6505. },
  6506. "enumitemvalue": {
  6507. "description": "通用值 - [币种通用简写]",
  6508. "type": "string"
  6509. },
  6510. "param1": {
  6511. "description": "参数1[币种:币种小数位]",
  6512. "type": "string"
  6513. },
  6514. "param2": {
  6515. "description": "参数1[币种:币种显示单位]",
  6516. "type": "string"
  6517. },
  6518. "remark": {
  6519. "description": "备注",
  6520. "type": "string"
  6521. }
  6522. }
  6523. },
  6524. "models.GoodsIDAndName": {
  6525. "type": "object",
  6526. "required": [
  6527. "goodscode",
  6528. "goodsid",
  6529. "goodsname",
  6530. "marketid"
  6531. ],
  6532. "properties": {
  6533. "goodscode": {
  6534. "description": "商品代码(内部)",
  6535. "type": "string"
  6536. },
  6537. "goodsid": {
  6538. "description": "商品ID(自增ID SEQ_GOODS)",
  6539. "type": "integer"
  6540. },
  6541. "goodsname": {
  6542. "description": "商品名称",
  6543. "type": "string"
  6544. },
  6545. "marketid": {
  6546. "description": "所属市场ID",
  6547. "type": "integer"
  6548. }
  6549. }
  6550. },
  6551. "models.HsbyBuyMyPayOrder": {
  6552. "type": "object",
  6553. "required": [
  6554. "goodscode",
  6555. "goodsname",
  6556. "tradeid",
  6557. "trademode"
  6558. ],
  6559. "properties": {
  6560. "agreeunit": {
  6561. "description": "合约单位",
  6562. "type": "number"
  6563. },
  6564. "buyaccountid": {
  6565. "description": "买方账号ID[报价币种]",
  6566. "type": "integer"
  6567. },
  6568. "buyorderid": {
  6569. "description": "买方委托单号",
  6570. "type": "string"
  6571. },
  6572. "createtime": {
  6573. "description": "创建时间",
  6574. "type": "string"
  6575. },
  6576. "currencysign": {
  6577. "description": "货币符号",
  6578. "type": "string"
  6579. },
  6580. "decimalplace": {
  6581. "description": "报价小数位",
  6582. "type": "integer"
  6583. },
  6584. "goodscode": {
  6585. "description": "商品代码(内部)",
  6586. "type": "string"
  6587. },
  6588. "goodsid": {
  6589. "description": "商品ID",
  6590. "type": "integer"
  6591. },
  6592. "goodsname": {
  6593. "description": "商品名称",
  6594. "type": "string"
  6595. },
  6596. "marketid": {
  6597. "description": "市场ID",
  6598. "type": "integer"
  6599. },
  6600. "offamount": {
  6601. "description": "优惠金额",
  6602. "type": "number"
  6603. },
  6604. "payamount": {
  6605. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  6606. "type": "number"
  6607. },
  6608. "payflag": {
  6609. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  6610. "type": "integer"
  6611. },
  6612. "paylimitedtime": {
  6613. "description": "支付期限",
  6614. "type": "string"
  6615. },
  6616. "paytime": {
  6617. "description": "付款时间",
  6618. "type": "string"
  6619. },
  6620. "picurls1": {
  6621. "description": "预售商品介绍图片[多张用逗号分隔]",
  6622. "type": "string"
  6623. },
  6624. "picurls2": {
  6625. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  6626. "type": "string"
  6627. },
  6628. "sellaccountid": {
  6629. "description": "卖方账号ID[报价币种]",
  6630. "type": "integer"
  6631. },
  6632. "sellorderid": {
  6633. "description": "卖方委托单号",
  6634. "type": "string"
  6635. },
  6636. "tradeamount": {
  6637. "description": "成交金额",
  6638. "type": "number"
  6639. },
  6640. "tradecharge": {
  6641. "description": "成交手续费(买方)",
  6642. "type": "number"
  6643. },
  6644. "tradedate": {
  6645. "description": "交易日(yyyyMMdd)",
  6646. "type": "string"
  6647. },
  6648. "tradeid": {
  6649. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6650. "type": "string"
  6651. },
  6652. "trademode": {
  6653. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  6654. "type": "integer"
  6655. },
  6656. "tradeprice": {
  6657. "description": "成交价格",
  6658. "type": "number"
  6659. },
  6660. "tradeqty": {
  6661. "description": "成交数量",
  6662. "type": "integer"
  6663. },
  6664. "vendorname1": {
  6665. "description": "预售商品供应商名称",
  6666. "type": "string"
  6667. },
  6668. "vendorname2": {
  6669. "description": "挂牌商品供应商名称",
  6670. "type": "string"
  6671. }
  6672. }
  6673. },
  6674. "models.HsbyBuyMyTradeDetail": {
  6675. "type": "object",
  6676. "required": [
  6677. "accountid",
  6678. "buyorsell",
  6679. "goodscode",
  6680. "goodsid",
  6681. "goodsname",
  6682. "marketid",
  6683. "orderid",
  6684. "qty",
  6685. "time",
  6686. "trademode"
  6687. ],
  6688. "properties": {
  6689. "accountid": {
  6690. "description": "账户ID[报价币种]",
  6691. "type": "integer"
  6692. },
  6693. "agreeunit": {
  6694. "description": "合约单位",
  6695. "type": "number"
  6696. },
  6697. "amount": {
  6698. "description": "金额 = 价格 * 数量 * 合约单位",
  6699. "type": "number"
  6700. },
  6701. "buyorsell": {
  6702. "description": "买卖 - 0:买 1:卖",
  6703. "type": "integer"
  6704. },
  6705. "currencysign": {
  6706. "description": "货币符号",
  6707. "type": "string"
  6708. },
  6709. "decimalplace": {
  6710. "description": "报价小数位",
  6711. "type": "integer"
  6712. },
  6713. "goodscode": {
  6714. "description": "商品代码(内部)",
  6715. "type": "string"
  6716. },
  6717. "goodsid": {
  6718. "description": "商品ID",
  6719. "type": "integer"
  6720. },
  6721. "goodsname": {
  6722. "description": "商品名称",
  6723. "type": "string"
  6724. },
  6725. "marketid": {
  6726. "description": "市场ID",
  6727. "type": "integer"
  6728. },
  6729. "orderid": {
  6730. "description": "单号(成交单号)",
  6731. "type": "string"
  6732. },
  6733. "picurls1": {
  6734. "description": "预售商品介绍图片[多张用逗号分隔]",
  6735. "type": "string"
  6736. },
  6737. "picurls2": {
  6738. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  6739. "type": "string"
  6740. },
  6741. "price": {
  6742. "description": "价格",
  6743. "type": "number"
  6744. },
  6745. "qty": {
  6746. "description": "数量",
  6747. "type": "integer"
  6748. },
  6749. "time": {
  6750. "description": "时间",
  6751. "type": "string"
  6752. },
  6753. "trademode": {
  6754. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  6755. "type": "integer"
  6756. },
  6757. "vendorname1": {
  6758. "description": "预售商品供应商名称",
  6759. "type": "string"
  6760. },
  6761. "vendorname2": {
  6762. "description": "挂牌商品供应商名称",
  6763. "type": "string"
  6764. }
  6765. }
  6766. },
  6767. "models.HsbyGoodsOrderDetail": {
  6768. "type": "object",
  6769. "required": [
  6770. "buyorsell",
  6771. "orderid",
  6772. "ordertime"
  6773. ],
  6774. "properties": {
  6775. "buyorsell": {
  6776. "description": "买卖 - 0:买 1:卖",
  6777. "type": "integer"
  6778. },
  6779. "currencysign": {
  6780. "description": "货币符号",
  6781. "type": "string"
  6782. },
  6783. "customername": {
  6784. "description": "客户名称(企业名称),已脱敏",
  6785. "type": "string"
  6786. },
  6787. "enableqty": {
  6788. "description": "可用数量",
  6789. "type": "integer"
  6790. },
  6791. "goodunit": {
  6792. "description": "报价单位",
  6793. "type": "string"
  6794. },
  6795. "orderid": {
  6796. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6797. "type": "string"
  6798. },
  6799. "orderprice": {
  6800. "description": "委托价格",
  6801. "type": "number"
  6802. },
  6803. "ordertime": {
  6804. "description": "委托时间",
  6805. "type": "string"
  6806. }
  6807. }
  6808. },
  6809. "models.HsbyListingGoodsDetail": {
  6810. "type": "object",
  6811. "required": [
  6812. "goodscode",
  6813. "goodsid",
  6814. "goodsname",
  6815. "marketid",
  6816. "trademode"
  6817. ],
  6818. "properties": {
  6819. "agreeunit": {
  6820. "description": "合约单位",
  6821. "type": "number"
  6822. },
  6823. "currency": {
  6824. "description": "货币",
  6825. "type": "string"
  6826. },
  6827. "currencysign": {
  6828. "description": "货币符号",
  6829. "type": "string"
  6830. },
  6831. "decimalplace": {
  6832. "description": "报价小数位",
  6833. "type": "integer"
  6834. },
  6835. "desccityid": {
  6836. "description": "目的地(市)ID",
  6837. "type": "integer"
  6838. },
  6839. "descprovinceid": {
  6840. "description": "目的地(省)ID",
  6841. "type": "integer"
  6842. },
  6843. "goodscode": {
  6844. "description": "商品代码(内部)",
  6845. "type": "string"
  6846. },
  6847. "goodsdesc": {
  6848. "description": "商品详情",
  6849. "type": "string"
  6850. },
  6851. "goodsid": {
  6852. "description": "商品ID(自增ID SEQ_GOODS)",
  6853. "type": "integer"
  6854. },
  6855. "goodsname": {
  6856. "description": "商品名称",
  6857. "type": "string"
  6858. },
  6859. "hotindex": {
  6860. "description": "景点热度",
  6861. "type": "integer"
  6862. },
  6863. "last": {
  6864. "description": "现价",
  6865. "type": "number"
  6866. },
  6867. "limitdown": {
  6868. "description": "跌停价",
  6869. "type": "number"
  6870. },
  6871. "limitup": {
  6872. "description": "涨停价",
  6873. "type": "number"
  6874. },
  6875. "lotsize": {
  6876. "description": "手数最小变动单位",
  6877. "type": "integer"
  6878. },
  6879. "marketid": {
  6880. "description": "所属市场ID",
  6881. "type": "integer"
  6882. },
  6883. "picurls": {
  6884. "description": "介绍图片[多张用逗号分隔]",
  6885. "type": "string"
  6886. },
  6887. "quoteminunit": {
  6888. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  6889. "type": "integer"
  6890. },
  6891. "stepvalue": {
  6892. "description": "价格最小变动单位",
  6893. "type": "number"
  6894. },
  6895. "trademode": {
  6896. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  6897. "type": "integer"
  6898. },
  6899. "vendorattr": {
  6900. "description": "供应商附件(多张,逗号分隔)",
  6901. "type": "string"
  6902. },
  6903. "vendorname": {
  6904. "description": "供应商名称",
  6905. "type": "string"
  6906. },
  6907. "vendorphone": {
  6908. "description": "供应商客服电话",
  6909. "type": "string"
  6910. },
  6911. "videourls": {
  6912. "description": "介绍视频[多张用逗号分隔]",
  6913. "type": "string"
  6914. }
  6915. }
  6916. },
  6917. "models.HsbyMarketGoods": {
  6918. "type": "object",
  6919. "required": [
  6920. "accountid",
  6921. "buyorsell",
  6922. "goodscode",
  6923. "goodsid",
  6924. "goodsname",
  6925. "marketid",
  6926. "orderid",
  6927. "trademode"
  6928. ],
  6929. "properties": {
  6930. "accountid": {
  6931. "description": "账户ID[报价币种]",
  6932. "type": "integer"
  6933. },
  6934. "agreeunit": {
  6935. "description": "合约单位",
  6936. "type": "number"
  6937. },
  6938. "buyorsell": {
  6939. "description": "买卖 - 0:买 1:卖",
  6940. "type": "integer"
  6941. },
  6942. "categoryid": {
  6943. "description": "类别ID(WRCATEGORY)",
  6944. "type": "integer"
  6945. },
  6946. "currency": {
  6947. "description": "货币",
  6948. "type": "string"
  6949. },
  6950. "currencysign": {
  6951. "description": "货币符号",
  6952. "type": "string"
  6953. },
  6954. "customername": {
  6955. "description": "卖家名称",
  6956. "type": "string"
  6957. },
  6958. "decimalplace": {
  6959. "description": "报价小数位",
  6960. "type": "integer"
  6961. },
  6962. "goodscode": {
  6963. "description": "商品代码(内部)",
  6964. "type": "string"
  6965. },
  6966. "goodsid": {
  6967. "description": "商品ID",
  6968. "type": "integer"
  6969. },
  6970. "goodsname": {
  6971. "description": "商品名称",
  6972. "type": "string"
  6973. },
  6974. "hascoupon": {
  6975. "description": "是否可用优惠卷",
  6976. "type": "boolean"
  6977. },
  6978. "hotindex": {
  6979. "description": "景点热度",
  6980. "type": "integer"
  6981. },
  6982. "marketid": {
  6983. "description": "市场ID",
  6984. "type": "integer"
  6985. },
  6986. "orderid": {
  6987. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6988. "type": "string"
  6989. },
  6990. "orderprice": {
  6991. "description": "委托价格",
  6992. "type": "number"
  6993. },
  6994. "orderstatus": {
  6995. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  6996. "type": "integer"
  6997. },
  6998. "picurls": {
  6999. "description": "介绍图片[多张用逗号分隔]",
  7000. "type": "string"
  7001. },
  7002. "quoteminunit": {
  7003. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  7004. "type": "integer"
  7005. },
  7006. "sellUserID": {
  7007. "description": "卖方UserID",
  7008. "type": "integer"
  7009. },
  7010. "trademode": {
  7011. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7012. "type": "integer"
  7013. },
  7014. "videourls": {
  7015. "description": "介绍视频[多张用逗号分隔]",
  7016. "type": "string"
  7017. }
  7018. }
  7019. },
  7020. "models.HsbyMarketGoodsDetail": {
  7021. "type": "object",
  7022. "required": [
  7023. "accountid",
  7024. "buyorsell",
  7025. "goodscode",
  7026. "goodsid",
  7027. "goodsname",
  7028. "marketid",
  7029. "orderid",
  7030. "orderqty",
  7031. "trademode"
  7032. ],
  7033. "properties": {
  7034. "accountid": {
  7035. "description": "账户ID[报价币种]",
  7036. "type": "integer"
  7037. },
  7038. "agreeunit": {
  7039. "description": "合约单位",
  7040. "type": "number"
  7041. },
  7042. "buyorsell": {
  7043. "description": "买卖 - 0:买 1:卖",
  7044. "type": "integer"
  7045. },
  7046. "cancelqty": {
  7047. "description": "撤单数量",
  7048. "type": "integer"
  7049. },
  7050. "categoryid": {
  7051. "description": "类别ID(WRCATEGORY)",
  7052. "type": "integer"
  7053. },
  7054. "currency": {
  7055. "description": "货币",
  7056. "type": "string"
  7057. },
  7058. "currencysign": {
  7059. "description": "货币符号",
  7060. "type": "string"
  7061. },
  7062. "customername": {
  7063. "description": "卖家名称",
  7064. "type": "string"
  7065. },
  7066. "decimalplace": {
  7067. "description": "报价小数位",
  7068. "type": "integer"
  7069. },
  7070. "goodscode": {
  7071. "description": "商品代码(内部)",
  7072. "type": "string"
  7073. },
  7074. "goodsdesc": {
  7075. "description": "商品详情",
  7076. "type": "string"
  7077. },
  7078. "goodsid": {
  7079. "description": "商品ID",
  7080. "type": "integer"
  7081. },
  7082. "goodsname": {
  7083. "description": "商品名称",
  7084. "type": "string"
  7085. },
  7086. "hotindex": {
  7087. "description": "景点热度",
  7088. "type": "integer"
  7089. },
  7090. "marketid": {
  7091. "description": "市场ID",
  7092. "type": "integer"
  7093. },
  7094. "orderid": {
  7095. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7096. "type": "string"
  7097. },
  7098. "orderprice": {
  7099. "description": "委托价格",
  7100. "type": "number"
  7101. },
  7102. "orderqty": {
  7103. "description": "委托数量",
  7104. "type": "integer"
  7105. },
  7106. "orderstatus": {
  7107. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  7108. "type": "integer"
  7109. },
  7110. "picurls": {
  7111. "description": "介绍图片[多张用逗号分隔]",
  7112. "type": "string"
  7113. },
  7114. "quoteminunit": {
  7115. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  7116. "type": "integer"
  7117. },
  7118. "sellUserID": {
  7119. "description": "卖方UserID",
  7120. "type": "integer"
  7121. },
  7122. "trademode": {
  7123. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7124. "type": "integer"
  7125. },
  7126. "tradeqty": {
  7127. "description": "成交数量",
  7128. "type": "integer"
  7129. },
  7130. "vendorname": {
  7131. "description": "供应商名称",
  7132. "type": "string"
  7133. },
  7134. "videourls": {
  7135. "description": "介绍视频[多张用逗号分隔]",
  7136. "type": "string"
  7137. }
  7138. }
  7139. },
  7140. "models.HsbyMarketInfo": {
  7141. "type": "object",
  7142. "required": [
  7143. "marketid",
  7144. "marketstatus",
  7145. "trademode"
  7146. ],
  7147. "properties": {
  7148. "marketid": {
  7149. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  7150. "type": "integer"
  7151. },
  7152. "marketname": {
  7153. "description": "市场名称",
  7154. "type": "string"
  7155. },
  7156. "marketstatus": {
  7157. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  7158. "type": "integer"
  7159. },
  7160. "trademode": {
  7161. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7162. "type": "integer"
  7163. }
  7164. }
  7165. },
  7166. "models.HsbyMyGoods": {
  7167. "type": "object",
  7168. "required": [
  7169. "accountid",
  7170. "goodscode",
  7171. "goodsid",
  7172. "goodsname"
  7173. ],
  7174. "properties": {
  7175. "accountid": {
  7176. "description": "账号Id",
  7177. "type": "integer"
  7178. },
  7179. "agreeunit": {
  7180. "description": "合约单位",
  7181. "type": "number"
  7182. },
  7183. "buyaverageprice": {
  7184. "description": "持仓均价",
  7185. "type": "number"
  7186. },
  7187. "buycurholderamount": {
  7188. "description": "买当前持仓总金额[商品币种]",
  7189. "type": "number"
  7190. },
  7191. "buycurpositionqty": {
  7192. "description": "买当前持仓总数量",
  7193. "type": "integer"
  7194. },
  7195. "currencysign": {
  7196. "description": "货币符号",
  7197. "type": "string"
  7198. },
  7199. "decimalplace": {
  7200. "description": "报价小数位",
  7201. "type": "integer"
  7202. },
  7203. "enableqty": {
  7204. "description": "可用数量",
  7205. "type": "integer"
  7206. },
  7207. "goodscode": {
  7208. "description": "商品代码(内部)",
  7209. "type": "string"
  7210. },
  7211. "goodsid": {
  7212. "description": "商品Id",
  7213. "type": "integer"
  7214. },
  7215. "goodsname": {
  7216. "description": "商品名称",
  7217. "type": "string"
  7218. },
  7219. "goodsstatus": {
  7220. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  7221. "type": "integer"
  7222. },
  7223. "picurls": {
  7224. "description": "介绍图片[多张用逗号分隔]",
  7225. "type": "string"
  7226. }
  7227. }
  7228. },
  7229. "models.HsbyMyPackage": {
  7230. "type": "object",
  7231. "required": [
  7232. "goodscode",
  7233. "goodsname",
  7234. "takeorderid"
  7235. ],
  7236. "properties": {
  7237. "accountid": {
  7238. "description": "账户ID",
  7239. "type": "integer"
  7240. },
  7241. "address": {
  7242. "description": "提货人详细地址",
  7243. "type": "string"
  7244. },
  7245. "agreeunit": {
  7246. "description": "合约单位",
  7247. "type": "number"
  7248. },
  7249. "amount": {
  7250. "description": "提货金额",
  7251. "type": "number"
  7252. },
  7253. "auditer": {
  7254. "description": "审核人",
  7255. "type": "integer"
  7256. },
  7257. "audittime": {
  7258. "description": "审核时间",
  7259. "type": "string"
  7260. },
  7261. "averageprice": {
  7262. "description": "均价",
  7263. "type": "number"
  7264. },
  7265. "cardnum": {
  7266. "description": "提货人证件号码",
  7267. "type": "string"
  7268. },
  7269. "cardtypeid": {
  7270. "description": "提货人证件类型",
  7271. "type": "integer"
  7272. },
  7273. "checkremark": {
  7274. "description": "审核备注",
  7275. "type": "string"
  7276. },
  7277. "currencysign": {
  7278. "description": "货币符号",
  7279. "type": "string"
  7280. },
  7281. "decimalplace": {
  7282. "description": "报价小数位",
  7283. "type": "integer"
  7284. },
  7285. "goodscode": {
  7286. "description": "商品代码(内部)",
  7287. "type": "string"
  7288. },
  7289. "goodsid": {
  7290. "description": "商品ID",
  7291. "type": "integer"
  7292. },
  7293. "goodsname": {
  7294. "description": "商品名称",
  7295. "type": "string"
  7296. },
  7297. "handlestatus": {
  7298. "description": "处理状态",
  7299. "type": "integer"
  7300. },
  7301. "marketid": {
  7302. "description": "市场ID",
  7303. "type": "integer"
  7304. },
  7305. "phonenum": {
  7306. "description": "提货人联系方式",
  7307. "type": "string"
  7308. },
  7309. "picurls": {
  7310. "description": "介绍图片[多张用逗号分隔]",
  7311. "type": "string"
  7312. },
  7313. "qty": {
  7314. "description": "提货数量",
  7315. "type": "number"
  7316. },
  7317. "recivername": {
  7318. "description": "提货人姓名",
  7319. "type": "string"
  7320. },
  7321. "reqtime": {
  7322. "description": "更新时间",
  7323. "type": "string"
  7324. },
  7325. "takemode": {
  7326. "description": "提货方式 - 2:自提 3:配送",
  7327. "type": "integer"
  7328. },
  7329. "takeorderid": {
  7330. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  7331. "type": "string"
  7332. },
  7333. "takeorderstatus": {
  7334. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  7335. "type": "integer"
  7336. },
  7337. "takeremark": {
  7338. "description": "提货备注",
  7339. "type": "string"
  7340. },
  7341. "tradedate": {
  7342. "description": "交易日(yyyyMMdd)",
  7343. "type": "string"
  7344. },
  7345. "userid": {
  7346. "description": "用户ID",
  7347. "type": "integer"
  7348. },
  7349. "vendorname": {
  7350. "description": "供应商名称",
  7351. "type": "string"
  7352. }
  7353. }
  7354. },
  7355. "models.HsbyPreGoods": {
  7356. "type": "object",
  7357. "required": [
  7358. "goodscode",
  7359. "goodsid",
  7360. "goodsname",
  7361. "marketid",
  7362. "trademode"
  7363. ],
  7364. "properties": {
  7365. "agreeunit": {
  7366. "description": "合约单位",
  7367. "type": "number"
  7368. },
  7369. "currency": {
  7370. "description": "货币",
  7371. "type": "string"
  7372. },
  7373. "currencysign": {
  7374. "description": "货币符号",
  7375. "type": "string"
  7376. },
  7377. "decimalplace": {
  7378. "description": "报价小数位",
  7379. "type": "integer"
  7380. },
  7381. "enableqty": {
  7382. "description": "剩余数量",
  7383. "type": "integer"
  7384. },
  7385. "goodscode": {
  7386. "description": "商品代码(内部)",
  7387. "type": "string"
  7388. },
  7389. "goodsid": {
  7390. "description": "商品ID(自增ID SEQ_GOODS)",
  7391. "type": "integer"
  7392. },
  7393. "goodsname": {
  7394. "description": "商品名称",
  7395. "type": "string"
  7396. },
  7397. "goodsstatus": {
  7398. "description": "商品状态- 2:未上市 3:上市",
  7399. "type": "integer"
  7400. },
  7401. "lasttradedate": {
  7402. "description": "最后交易日期(状态:待退市)",
  7403. "type": "string"
  7404. },
  7405. "listingdate": {
  7406. "description": "交易开始日期",
  7407. "type": "string"
  7408. },
  7409. "marketid": {
  7410. "description": "所属市场ID",
  7411. "type": "integer"
  7412. },
  7413. "picurls": {
  7414. "description": "介绍图片[多张用逗号分隔]",
  7415. "type": "string"
  7416. },
  7417. "presaledqty": {
  7418. "description": "已预售量(预售结束时更新)",
  7419. "type": "integer"
  7420. },
  7421. "presaleqty": {
  7422. "description": "预售数量",
  7423. "type": "integer"
  7424. },
  7425. "quoteminunit": {
  7426. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  7427. "type": "integer"
  7428. },
  7429. "refprice": {
  7430. "description": "参考价格[一口价]",
  7431. "type": "number"
  7432. },
  7433. "relatedgoodsid": {
  7434. "description": "关联交易合约ID",
  7435. "type": "integer"
  7436. },
  7437. "trademode": {
  7438. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7439. "type": "integer"
  7440. },
  7441. "videourls": {
  7442. "description": "介绍视频[多张用逗号分隔]",
  7443. "type": "string"
  7444. }
  7445. }
  7446. },
  7447. "models.HsbyPreGoodsDetail": {
  7448. "type": "object",
  7449. "required": [
  7450. "goodscode",
  7451. "goodsid",
  7452. "goodsname",
  7453. "marketid",
  7454. "trademode"
  7455. ],
  7456. "properties": {
  7457. "agreeunit": {
  7458. "description": "合约单位",
  7459. "type": "number"
  7460. },
  7461. "buymaxqty": {
  7462. "description": "购买上限 [71] - 0为不限",
  7463. "type": "integer"
  7464. },
  7465. "currency": {
  7466. "description": "货币",
  7467. "type": "string"
  7468. },
  7469. "currencysign": {
  7470. "description": "货币符号",
  7471. "type": "string"
  7472. },
  7473. "customername": {
  7474. "description": "发行单位",
  7475. "type": "string"
  7476. },
  7477. "decimalplace": {
  7478. "description": "报价小数位",
  7479. "type": "integer"
  7480. },
  7481. "desccityid": {
  7482. "description": "目的地(市)ID",
  7483. "type": "integer"
  7484. },
  7485. "descprovinceid": {
  7486. "description": "目的地(省)ID",
  7487. "type": "integer"
  7488. },
  7489. "enableqty": {
  7490. "description": "剩余数量",
  7491. "type": "integer"
  7492. },
  7493. "goodscode": {
  7494. "description": "商品代码(内部)",
  7495. "type": "string"
  7496. },
  7497. "goodsdesc": {
  7498. "description": "商品详情",
  7499. "type": "string"
  7500. },
  7501. "goodsid": {
  7502. "description": "商品ID(自增ID SEQ_GOODS)",
  7503. "type": "integer"
  7504. },
  7505. "goodsname": {
  7506. "description": "商品名称",
  7507. "type": "string"
  7508. },
  7509. "goodsstatus": {
  7510. "description": "商品状态- 2:未上市 3:上市",
  7511. "type": "integer"
  7512. },
  7513. "goodunit": {
  7514. "description": "报价单位",
  7515. "type": "string"
  7516. },
  7517. "lasttradedate": {
  7518. "description": "最后交易日期(状态:待退市)",
  7519. "type": "string"
  7520. },
  7521. "listingdate": {
  7522. "description": "交易开始日期",
  7523. "type": "string"
  7524. },
  7525. "lotsize": {
  7526. "description": "手数最小变动单位",
  7527. "type": "integer"
  7528. },
  7529. "marketid": {
  7530. "description": "所属市场ID",
  7531. "type": "integer"
  7532. },
  7533. "picurls": {
  7534. "description": "介绍图片[多张用逗号分隔]",
  7535. "type": "string"
  7536. },
  7537. "presaledqty": {
  7538. "description": "已预售量(预售结束时更新)",
  7539. "type": "integer"
  7540. },
  7541. "presaleqty": {
  7542. "description": "预售数量",
  7543. "type": "integer"
  7544. },
  7545. "quoteminunit": {
  7546. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  7547. "type": "integer"
  7548. },
  7549. "refprice": {
  7550. "description": "参考价格[一口价]",
  7551. "type": "number"
  7552. },
  7553. "relatedgoodsid": {
  7554. "description": "关联交易合约ID",
  7555. "type": "integer"
  7556. },
  7557. "stepvalue": {
  7558. "description": "价格最小变动单位",
  7559. "type": "number"
  7560. },
  7561. "trademode": {
  7562. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7563. "type": "integer"
  7564. },
  7565. "vendorattr": {
  7566. "description": "供应商附件(多张,逗号分隔)",
  7567. "type": "string"
  7568. },
  7569. "vendorname": {
  7570. "description": "供应商名称",
  7571. "type": "string"
  7572. },
  7573. "vendorphone": {
  7574. "description": "供应商客服电话",
  7575. "type": "string"
  7576. },
  7577. "videourls": {
  7578. "description": "介绍视频[多张用逗号分隔]",
  7579. "type": "string"
  7580. }
  7581. }
  7582. },
  7583. "models.HsbySellCollectionOrder": {
  7584. "type": "object",
  7585. "required": [
  7586. "goodscode",
  7587. "goodsname",
  7588. "tradeid",
  7589. "trademode"
  7590. ],
  7591. "properties": {
  7592. "agreeunit": {
  7593. "description": "合约单位",
  7594. "type": "number"
  7595. },
  7596. "buyaccountid": {
  7597. "description": "买方账号ID[报价币种]",
  7598. "type": "integer"
  7599. },
  7600. "buyorderid": {
  7601. "description": "买方委托单号",
  7602. "type": "string"
  7603. },
  7604. "createtime": {
  7605. "description": "创建时间",
  7606. "type": "string"
  7607. },
  7608. "currencysign": {
  7609. "description": "货币符号",
  7610. "type": "string"
  7611. },
  7612. "decimalplace": {
  7613. "description": "报价小数位",
  7614. "type": "integer"
  7615. },
  7616. "goodscode": {
  7617. "description": "商品代码(内部)",
  7618. "type": "string"
  7619. },
  7620. "goodsid": {
  7621. "description": "商品ID",
  7622. "type": "integer"
  7623. },
  7624. "goodsname": {
  7625. "description": "商品名称",
  7626. "type": "string"
  7627. },
  7628. "marketid": {
  7629. "description": "市场ID",
  7630. "type": "integer"
  7631. },
  7632. "offamount": {
  7633. "description": "优惠金额",
  7634. "type": "number"
  7635. },
  7636. "payamount": {
  7637. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  7638. "type": "number"
  7639. },
  7640. "payflag": {
  7641. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  7642. "type": "integer"
  7643. },
  7644. "paylimitedtime": {
  7645. "description": "支付期限",
  7646. "type": "string"
  7647. },
  7648. "paytime": {
  7649. "description": "付款时间",
  7650. "type": "string"
  7651. },
  7652. "picurls": {
  7653. "description": "商品介绍图片[多张用逗号分隔]",
  7654. "type": "string"
  7655. },
  7656. "sellaccountid": {
  7657. "description": "卖方账号ID[报价币种]",
  7658. "type": "integer"
  7659. },
  7660. "sellorderid": {
  7661. "description": "卖方委托单号",
  7662. "type": "string"
  7663. },
  7664. "tradeamount": {
  7665. "description": "成交金额",
  7666. "type": "number"
  7667. },
  7668. "tradecharge": {
  7669. "description": "成交手续费(买方)",
  7670. "type": "number"
  7671. },
  7672. "tradedate": {
  7673. "description": "交易日(yyyyMMdd)",
  7674. "type": "string"
  7675. },
  7676. "tradeid": {
  7677. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7678. "type": "string"
  7679. },
  7680. "trademode": {
  7681. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7682. "type": "integer"
  7683. },
  7684. "tradeprice": {
  7685. "description": "成交价格",
  7686. "type": "number"
  7687. },
  7688. "tradeqty": {
  7689. "description": "成交数量",
  7690. "type": "integer"
  7691. }
  7692. }
  7693. },
  7694. "models.HsbySellMyDetail": {
  7695. "type": "object",
  7696. "required": [
  7697. "accountid",
  7698. "buyorsell",
  7699. "goodscode",
  7700. "goodsid",
  7701. "goodsname",
  7702. "marketid",
  7703. "orderid",
  7704. "time",
  7705. "trademode"
  7706. ],
  7707. "properties": {
  7708. "accountid": {
  7709. "description": "账户ID[报价币种]",
  7710. "type": "integer"
  7711. },
  7712. "agreeunit": {
  7713. "description": "合约单位",
  7714. "type": "number"
  7715. },
  7716. "buyorsell": {
  7717. "description": "买卖 - 0:买 1:卖",
  7718. "type": "integer"
  7719. },
  7720. "currencysign": {
  7721. "description": "货币符号",
  7722. "type": "string"
  7723. },
  7724. "decimalplace": {
  7725. "description": "报价小数位",
  7726. "type": "integer"
  7727. },
  7728. "goodscode": {
  7729. "description": "商品代码(内部)",
  7730. "type": "string"
  7731. },
  7732. "goodsid": {
  7733. "description": "商品ID",
  7734. "type": "integer"
  7735. },
  7736. "goodsname": {
  7737. "description": "商品名称",
  7738. "type": "string"
  7739. },
  7740. "marketid": {
  7741. "description": "市场ID",
  7742. "type": "integer"
  7743. },
  7744. "orderid": {
  7745. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  7746. "type": "string"
  7747. },
  7748. "ordertype": {
  7749. "description": "单据类型:0 - 发布中, 1 - 已完成",
  7750. "type": "integer"
  7751. },
  7752. "picurls": {
  7753. "description": "介绍图片[多张用逗号分隔]",
  7754. "type": "string"
  7755. },
  7756. "price": {
  7757. "description": "价格",
  7758. "type": "number"
  7759. },
  7760. "qty": {
  7761. "description": "数量",
  7762. "type": "integer"
  7763. },
  7764. "time": {
  7765. "description": "时间",
  7766. "type": "string"
  7767. },
  7768. "trademode": {
  7769. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7770. "type": "integer"
  7771. },
  7772. "vendorname": {
  7773. "description": "供应商名称",
  7774. "type": "string"
  7775. }
  7776. }
  7777. },
  7778. "models.HsbyTopGoods": {
  7779. "type": "object",
  7780. "required": [
  7781. "goodscode",
  7782. "goodsid",
  7783. "goodsname",
  7784. "marketid",
  7785. "trademode"
  7786. ],
  7787. "properties": {
  7788. "agreeunit": {
  7789. "description": "合约单位",
  7790. "type": "number"
  7791. },
  7792. "currency": {
  7793. "description": "货币",
  7794. "type": "string"
  7795. },
  7796. "currencysign": {
  7797. "description": "货币符号",
  7798. "type": "string"
  7799. },
  7800. "decimalplace": {
  7801. "description": "报价小数位",
  7802. "type": "integer"
  7803. },
  7804. "goodscode": {
  7805. "description": "商品代码(内部)",
  7806. "type": "string"
  7807. },
  7808. "goodsid": {
  7809. "description": "商品ID(自增ID SEQ_GOODS)",
  7810. "type": "integer"
  7811. },
  7812. "goodsname": {
  7813. "description": "商品名称",
  7814. "type": "string"
  7815. },
  7816. "hotindex": {
  7817. "description": "景点热度",
  7818. "type": "integer"
  7819. },
  7820. "last": {
  7821. "description": "现价",
  7822. "type": "number"
  7823. },
  7824. "marketid": {
  7825. "description": "所属市场ID",
  7826. "type": "integer"
  7827. },
  7828. "picurls": {
  7829. "description": "介绍图片[多张用逗号分隔]",
  7830. "type": "string"
  7831. },
  7832. "quoteminunit": {
  7833. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  7834. "type": "integer"
  7835. },
  7836. "trademode": {
  7837. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7838. "type": "integer"
  7839. },
  7840. "videourls": {
  7841. "description": "介绍视频[多张用逗号分隔]",
  7842. "type": "string"
  7843. }
  7844. }
  7845. },
  7846. "models.HybsMyBuyOrderDetail": {
  7847. "type": "object",
  7848. "required": [
  7849. "accountid",
  7850. "buyorsell",
  7851. "goodscode",
  7852. "goodsid",
  7853. "goodsname",
  7854. "marketid",
  7855. "orderid",
  7856. "orderqty",
  7857. "ordertime",
  7858. "trademode"
  7859. ],
  7860. "properties": {
  7861. "accountid": {
  7862. "description": "账户ID[报价币种]",
  7863. "type": "integer"
  7864. },
  7865. "agreeunit": {
  7866. "description": "合约单位",
  7867. "type": "number"
  7868. },
  7869. "buyorsell": {
  7870. "description": "买卖 - 0:买 1:卖",
  7871. "type": "integer"
  7872. },
  7873. "cancelqty": {
  7874. "description": "撤单数量",
  7875. "type": "integer"
  7876. },
  7877. "currencysign": {
  7878. "description": "货币符号",
  7879. "type": "string"
  7880. },
  7881. "decimalplace": {
  7882. "description": "报价小数位",
  7883. "type": "integer"
  7884. },
  7885. "goodscode": {
  7886. "description": "商品代码(内部)",
  7887. "type": "string"
  7888. },
  7889. "goodsid": {
  7890. "description": "商品ID",
  7891. "type": "integer"
  7892. },
  7893. "goodsname": {
  7894. "description": "商品名称",
  7895. "type": "string"
  7896. },
  7897. "listingselecttype": {
  7898. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  7899. "type": "integer"
  7900. },
  7901. "marketid": {
  7902. "description": "市场ID",
  7903. "type": "integer"
  7904. },
  7905. "mybuystatus": {
  7906. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  7907. "type": "integer"
  7908. },
  7909. "orderamount": {
  7910. "description": "委托金额",
  7911. "type": "number"
  7912. },
  7913. "orderid": {
  7914. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7915. "type": "string"
  7916. },
  7917. "orderprice": {
  7918. "description": "委托价格",
  7919. "type": "number"
  7920. },
  7921. "orderqty": {
  7922. "description": "委托数量",
  7923. "type": "integer"
  7924. },
  7925. "orderstatus": {
  7926. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  7927. "type": "integer"
  7928. },
  7929. "ordertime": {
  7930. "description": "委托时间",
  7931. "type": "string"
  7932. },
  7933. "picurls1": {
  7934. "description": "预售商品介绍图片[多张用逗号分隔]",
  7935. "type": "string"
  7936. },
  7937. "picurls2": {
  7938. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  7939. "type": "string"
  7940. },
  7941. "trademode": {
  7942. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7943. "type": "integer"
  7944. },
  7945. "tradeqty": {
  7946. "description": "成交数量",
  7947. "type": "integer"
  7948. },
  7949. "vendorname1": {
  7950. "description": "预售商品供应商名称",
  7951. "type": "string"
  7952. },
  7953. "vendorname2": {
  7954. "description": "挂牌商品供应商名称",
  7955. "type": "string"
  7956. }
  7957. }
  7958. },
  7959. "models.Messageboard": {
  7960. "type": "object",
  7961. "required": [
  7962. "messageboardid"
  7963. ],
  7964. "properties": {
  7965. "createtime": {
  7966. "description": "创建时间",
  7967. "type": "string"
  7968. },
  7969. "message": {
  7970. "description": "留言信息",
  7971. "type": "string"
  7972. },
  7973. "messageboardid": {
  7974. "description": "留言簿ID(SEQ_MessageBoard)",
  7975. "type": "integer"
  7976. },
  7977. "userid": {
  7978. "description": "用户ID",
  7979. "type": "integer"
  7980. }
  7981. }
  7982. },
  7983. "models.MyCoupon": {
  7984. "type": "object",
  7985. "required": [
  7986. "accountid",
  7987. "coupontypeid"
  7988. ],
  7989. "properties": {
  7990. "accountid": {
  7991. "description": "资金账户ID",
  7992. "type": "integer"
  7993. },
  7994. "areauserid": {
  7995. "description": "所属机构",
  7996. "type": "integer"
  7997. },
  7998. "conditionvalue": {
  7999. "description": "条件阈值(可为0)",
  8000. "type": "number"
  8001. },
  8002. "couponcategroy": {
  8003. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  8004. "type": "integer"
  8005. },
  8006. "couponname": {
  8007. "description": "优惠券名称",
  8008. "type": "string"
  8009. },
  8010. "coupontypeid": {
  8011. "description": "优惠券类型ID",
  8012. "type": "integer"
  8013. },
  8014. "couponvalue": {
  8015. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  8016. "type": "number"
  8017. },
  8018. "curfreezeqty": {
  8019. "description": "期末冻结数量",
  8020. "type": "integer"
  8021. },
  8022. "curqty": {
  8023. "description": "期末数量",
  8024. "type": "integer"
  8025. },
  8026. "isgeneral": {
  8027. "description": "是否通用券 - 0:否 1:是",
  8028. "type": "integer"
  8029. },
  8030. "isunusable": {
  8031. "description": "是否不可用",
  8032. "type": "boolean"
  8033. },
  8034. "limitedflag": {
  8035. "description": "是否指定商品 - 0:不限 1:限制",
  8036. "type": "integer"
  8037. },
  8038. "limitedgoodsids": {
  8039. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  8040. "type": "string"
  8041. },
  8042. "orifreezeqty": {
  8043. "description": "期初冻结数量",
  8044. "type": "integer"
  8045. },
  8046. "oriqty": {
  8047. "description": "期初数量",
  8048. "type": "integer"
  8049. },
  8050. "reasontype": {
  8051. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  8052. "type": "integer"
  8053. },
  8054. "todaydecrease": {
  8055. "description": "今日减少",
  8056. "type": "integer"
  8057. },
  8058. "todayincrease": {
  8059. "description": "今日增加",
  8060. "type": "integer"
  8061. },
  8062. "userid": {
  8063. "description": "用户ID",
  8064. "type": "integer"
  8065. },
  8066. "userscope": {
  8067. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  8068. "type": "string"
  8069. }
  8070. }
  8071. },
  8072. "models.OperationPrimaryMenu": {
  8073. "type": "object",
  8074. "properties": {
  8075. "Children": {
  8076. "description": "二级功能菜单",
  8077. "type": "array",
  8078. "items": {
  8079. "$ref": "#/definitions/models.OperationSecondaryMenu"
  8080. }
  8081. },
  8082. "Key": {
  8083. "description": "菜单KEY",
  8084. "type": "string"
  8085. },
  8086. "Label": {
  8087. "description": "菜单标题",
  8088. "type": "string"
  8089. }
  8090. }
  8091. },
  8092. "models.OperationSecondaryMenu": {
  8093. "type": "object",
  8094. "properties": {
  8095. "Key": {
  8096. "description": "菜单KEY",
  8097. "type": "string"
  8098. },
  8099. "Label": {
  8100. "description": "菜单标题",
  8101. "type": "string"
  8102. },
  8103. "TabList": {
  8104. "description": "三级功能菜单",
  8105. "type": "array",
  8106. "items": {
  8107. "$ref": "#/definitions/models.OperationTabMenu"
  8108. }
  8109. }
  8110. }
  8111. },
  8112. "models.OperationTabMenu": {
  8113. "type": "object",
  8114. "properties": {
  8115. "Key": {
  8116. "description": "菜单KEY",
  8117. "type": "string"
  8118. },
  8119. "Label": {
  8120. "description": "菜单标题",
  8121. "type": "string"
  8122. }
  8123. }
  8124. },
  8125. "models.QuotePrimaryMenu": {
  8126. "type": "object",
  8127. "properties": {
  8128. "Index": {
  8129. "description": "序号",
  8130. "type": "integer"
  8131. },
  8132. "Key": {
  8133. "description": "键名",
  8134. "type": "string"
  8135. },
  8136. "Name": {
  8137. "description": "菜单名称",
  8138. "type": "string"
  8139. },
  8140. "SubMenus": {
  8141. "description": "子菜单",
  8142. "type": "array",
  8143. "items": {
  8144. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  8145. }
  8146. },
  8147. "SubTitleType": {
  8148. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  8149. "type": "integer"
  8150. },
  8151. "TradeModes": {
  8152. "description": "包含市场交易类型",
  8153. "type": "string"
  8154. }
  8155. }
  8156. },
  8157. "models.QuoteSecondaryMenu": {
  8158. "type": "object",
  8159. "properties": {
  8160. "ExExchangeCode": {
  8161. "description": "外部交易所代码",
  8162. "type": "string"
  8163. },
  8164. "ExExchangeID": {
  8165. "description": "外部交易所ID",
  8166. "type": "integer"
  8167. },
  8168. "GoodsGroupIDs": {
  8169. "description": "商品组ID列表",
  8170. "type": "array",
  8171. "items": {
  8172. "type": "integer"
  8173. }
  8174. },
  8175. "Index": {
  8176. "description": "序号",
  8177. "type": "integer"
  8178. },
  8179. "MarketID": {
  8180. "description": "市场ID",
  8181. "type": "integer"
  8182. },
  8183. "MenuTitle": {
  8184. "description": "菜单标题(市场名称或外部交易所名称)",
  8185. "type": "string"
  8186. },
  8187. "TradeMode": {
  8188. "description": "交易模式",
  8189. "type": "integer"
  8190. }
  8191. }
  8192. },
  8193. "models.SearchGoods": {
  8194. "type": "object",
  8195. "required": [
  8196. "goodscode",
  8197. "goodsid",
  8198. "goodsname",
  8199. "marketid",
  8200. "trademode"
  8201. ],
  8202. "properties": {
  8203. "goodscode": {
  8204. "description": "商品代码(内部)",
  8205. "type": "string"
  8206. },
  8207. "goodsid": {
  8208. "description": "商品ID(自增ID SEQ_GOODS)",
  8209. "type": "integer"
  8210. },
  8211. "goodsname": {
  8212. "description": "商品名称",
  8213. "type": "string"
  8214. },
  8215. "marketid": {
  8216. "description": "所属市场ID",
  8217. "type": "integer"
  8218. },
  8219. "marketname": {
  8220. "description": "市场名称",
  8221. "type": "string"
  8222. },
  8223. "trademode": {
  8224. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8225. "type": "integer"
  8226. }
  8227. }
  8228. },
  8229. "models.Szdz2imageconfig": {
  8230. "type": "object",
  8231. "required": [
  8232. "configid"
  8233. ],
  8234. "properties": {
  8235. "configid": {
  8236. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  8237. "type": "integer"
  8238. },
  8239. "imagepath": {
  8240. "description": "图片",
  8241. "type": "string"
  8242. },
  8243. "imagetype": {
  8244. "description": "类型 - 1:App首页轮播 2:我的",
  8245. "type": "integer"
  8246. },
  8247. "sort": {
  8248. "description": "排序",
  8249. "type": "integer"
  8250. },
  8251. "title": {
  8252. "description": "标题",
  8253. "type": "string"
  8254. },
  8255. "url": {
  8256. "description": "链接",
  8257. "type": "string"
  8258. }
  8259. }
  8260. },
  8261. "models.Szdz3convertconfig": {
  8262. "type": "object",
  8263. "required": [
  8264. "converttype",
  8265. "innergoodsid",
  8266. "outergoodscode"
  8267. ],
  8268. "properties": {
  8269. "canin": {
  8270. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  8271. "type": "integer"
  8272. },
  8273. "canout": {
  8274. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  8275. "type": "integer"
  8276. },
  8277. "converttype": {
  8278. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  8279. "type": "integer"
  8280. },
  8281. "createtime": {
  8282. "description": "创建时间",
  8283. "type": "string"
  8284. },
  8285. "creatorid": {
  8286. "description": "创建人",
  8287. "type": "integer"
  8288. },
  8289. "daymaxvalue": {
  8290. "description": "当日最大转入限制",
  8291. "type": "number"
  8292. },
  8293. "freezedays": {
  8294. "description": "冻结天数 [5:花生米转交易]",
  8295. "type": "integer"
  8296. },
  8297. "innergoodsid": {
  8298. "description": "内部商品ID[交易]",
  8299. "type": "integer"
  8300. },
  8301. "inratio": {
  8302. "description": "目标值",
  8303. "type": "integer"
  8304. },
  8305. "modifierid": {
  8306. "description": "修改人",
  8307. "type": "integer"
  8308. },
  8309. "modifytime": {
  8310. "description": "修改时间",
  8311. "type": "string"
  8312. },
  8313. "outergoodscode": {
  8314. "description": "外部商品代码[JD\\PD]",
  8315. "type": "string"
  8316. },
  8317. "outratio": {
  8318. "description": "源值",
  8319. "type": "integer"
  8320. },
  8321. "pddecimalplace": {
  8322. "description": "PD小数位",
  8323. "type": "integer"
  8324. },
  8325. "timemaxvalue": {
  8326. "description": "单次最大转入限制",
  8327. "type": "number"
  8328. },
  8329. "timeminvalue": {
  8330. "description": "单次最小转入限制",
  8331. "type": "number"
  8332. }
  8333. }
  8334. },
  8335. "models.Szdz3searchwhitelist": {
  8336. "type": "object",
  8337. "required": [
  8338. "userid"
  8339. ],
  8340. "properties": {
  8341. "createtime": {
  8342. "description": "创建时间",
  8343. "type": "string"
  8344. },
  8345. "creatorid": {
  8346. "description": "创建人",
  8347. "type": "integer"
  8348. },
  8349. "modifierid": {
  8350. "description": "修改人",
  8351. "type": "integer"
  8352. },
  8353. "modifytime": {
  8354. "description": "修改时间",
  8355. "type": "string"
  8356. },
  8357. "userid": {
  8358. "description": "用户ID",
  8359. "type": "integer"
  8360. }
  8361. }
  8362. },
  8363. "models.Tablecolumnconfig": {
  8364. "type": "object",
  8365. "required": [
  8366. "autoid"
  8367. ],
  8368. "properties": {
  8369. "aligntype": {
  8370. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  8371. "type": "integer"
  8372. },
  8373. "autoid": {
  8374. "description": "AutoID",
  8375. "type": "integer"
  8376. },
  8377. "columnfield": {
  8378. "description": "列字段",
  8379. "type": "string"
  8380. },
  8381. "columntitle": {
  8382. "description": "列Title",
  8383. "type": "string"
  8384. },
  8385. "columnwidth": {
  8386. "description": "列宽",
  8387. "type": "string"
  8388. },
  8389. "formatterstring": {
  8390. "description": "格式化字符",
  8391. "type": "string"
  8392. },
  8393. "formattertype": {
  8394. "description": "格式化类型",
  8395. "type": "string"
  8396. },
  8397. "groupname": {
  8398. "description": "表头分组名称",
  8399. "type": "string"
  8400. },
  8401. "isshow": {
  8402. "description": "是否显示 - 0:不显示 1:显示",
  8403. "type": "integer"
  8404. },
  8405. "needsummary": {
  8406. "description": "是否需要汇总 - 0:不需要 1:需要",
  8407. "type": "integer"
  8408. },
  8409. "orderindex": {
  8410. "description": "顺序",
  8411. "type": "integer"
  8412. },
  8413. "remark": {
  8414. "description": "备注",
  8415. "type": "string"
  8416. },
  8417. "summarytype": {
  8418. "description": "汇总类型 - 1:加总 2:最后一个",
  8419. "type": "integer"
  8420. },
  8421. "tablekey": {
  8422. "description": "列表Key",
  8423. "type": "string"
  8424. }
  8425. }
  8426. },
  8427. "models.Useraccount": {
  8428. "type": "object",
  8429. "required": [
  8430. "userid"
  8431. ],
  8432. "properties": {
  8433. "accountname": {
  8434. "description": "账户名称(机构名称)",
  8435. "type": "string"
  8436. },
  8437. "accountstatus": {
  8438. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  8439. "type": "integer"
  8440. },
  8441. "auditremark": {
  8442. "description": "审核备注",
  8443. "type": "string"
  8444. },
  8445. "audittime": {
  8446. "description": "审核时间",
  8447. "type": "string"
  8448. },
  8449. "audituserid": {
  8450. "description": "审核人",
  8451. "type": "integer"
  8452. },
  8453. "broker": {
  8454. "description": "所属经纪人ID",
  8455. "type": "integer"
  8456. },
  8457. "canceltime": {
  8458. "description": "销户时间",
  8459. "type": "string"
  8460. },
  8461. "canceluserid": {
  8462. "description": "销户人",
  8463. "type": "integer"
  8464. },
  8465. "createtime": {
  8466. "description": "创建时间",
  8467. "type": "string"
  8468. },
  8469. "creatorid": {
  8470. "description": "创建人",
  8471. "type": "integer"
  8472. },
  8473. "hasauth": {
  8474. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  8475. "type": "integer"
  8476. },
  8477. "isanonymous": {
  8478. "description": "是否匿名下单 - 0:否 1:是",
  8479. "type": "integer"
  8480. },
  8481. "maxinvestornum": {
  8482. "description": "最大用户数(经纪会员下投资者个数)",
  8483. "type": "integer"
  8484. },
  8485. "memberuserid": {
  8486. "description": "所属会员ID",
  8487. "type": "integer"
  8488. },
  8489. "modifierid": {
  8490. "description": "修改人",
  8491. "type": "integer"
  8492. },
  8493. "modifyremark": {
  8494. "description": "变更备注",
  8495. "type": "string"
  8496. },
  8497. "modifystatus": {
  8498. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  8499. "type": "integer"
  8500. },
  8501. "modifytime": {
  8502. "description": "修改时间",
  8503. "type": "string"
  8504. },
  8505. "parentuserid": {
  8506. "description": "所属机构ID",
  8507. "type": "integer"
  8508. },
  8509. "reckonaccountid": {
  8510. "description": "默认结算资金账号ID(机构分润使用) 作废",
  8511. "type": "integer"
  8512. },
  8513. "refercount": {
  8514. "description": "推荐总人数",
  8515. "type": "integer"
  8516. },
  8517. "refereeuserid": {
  8518. "description": "推荐人ID",
  8519. "type": "integer"
  8520. },
  8521. "refernum": {
  8522. "description": "推荐码",
  8523. "type": "string"
  8524. },
  8525. "subarealevelpath": {
  8526. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  8527. "type": "string"
  8528. },
  8529. "userid": {
  8530. "description": "用户ID",
  8531. "type": "integer"
  8532. },
  8533. "usertype": {
  8534. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  8535. "type": "integer"
  8536. }
  8537. }
  8538. },
  8539. "models.Userfavoritegoods": {
  8540. "type": "object",
  8541. "required": [
  8542. "goodsid"
  8543. ],
  8544. "properties": {
  8545. "goodsid": {
  8546. "description": "商品ID",
  8547. "type": "integer"
  8548. }
  8549. }
  8550. },
  8551. "models.Userinfo": {
  8552. "type": "object",
  8553. "required": [
  8554. "userid"
  8555. ],
  8556. "properties": {
  8557. "address": {
  8558. "description": "地址",
  8559. "type": "string"
  8560. },
  8561. "attachment1": {
  8562. "description": "附件1",
  8563. "type": "string"
  8564. },
  8565. "attachment2": {
  8566. "description": "附件2",
  8567. "type": "string"
  8568. },
  8569. "bankaccount": {
  8570. "description": "银行帐号 (加密存储)",
  8571. "type": "string"
  8572. },
  8573. "bankaccountname": {
  8574. "description": "收款人名称",
  8575. "type": "string"
  8576. },
  8577. "bankcardfrontphotourl": {
  8578. "description": "银行卡正面照地址",
  8579. "type": "string"
  8580. },
  8581. "bankid": {
  8582. "description": "银行编码",
  8583. "type": "string"
  8584. },
  8585. "bankname": {
  8586. "description": "银行名称",
  8587. "type": "string"
  8588. },
  8589. "biznature": {
  8590. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  8591. "type": "integer"
  8592. },
  8593. "bizscope": {
  8594. "description": "企业经营范围(企业)",
  8595. "type": "string"
  8596. },
  8597. "cardbackphotourl": {
  8598. "description": "证件背面图片地址",
  8599. "type": "string"
  8600. },
  8601. "cardfrontphotourl": {
  8602. "description": "证件正面图片地址",
  8603. "type": "string"
  8604. },
  8605. "cardnum": {
  8606. "description": "证件号码(加密存储)",
  8607. "type": "string"
  8608. },
  8609. "cardtypeid": {
  8610. "description": "证件类型ID",
  8611. "type": "integer"
  8612. },
  8613. "cityid": {
  8614. "description": "市",
  8615. "type": "integer"
  8616. },
  8617. "company": {
  8618. "description": "公司(个人)",
  8619. "type": "string"
  8620. },
  8621. "contactname": {
  8622. "description": "联系人",
  8623. "type": "string"
  8624. },
  8625. "countryid": {
  8626. "description": "国家",
  8627. "type": "integer"
  8628. },
  8629. "createtime": {
  8630. "description": "创建时间",
  8631. "type": "string"
  8632. },
  8633. "creatorid": {
  8634. "description": "创建人",
  8635. "type": "integer"
  8636. },
  8637. "customername": {
  8638. "description": "客户名称(企业名称)",
  8639. "type": "string"
  8640. },
  8641. "districtid": {
  8642. "description": "地区",
  8643. "type": "integer"
  8644. },
  8645. "email": {
  8646. "description": "邮件(加密存储)",
  8647. "type": "string"
  8648. },
  8649. "fax": {
  8650. "description": "传真(加密存储)",
  8651. "type": "string"
  8652. },
  8653. "halfbodyphotourl": {
  8654. "description": "半身照地址",
  8655. "type": "string"
  8656. },
  8657. "hasencrypt": {
  8658. "description": "数据是否已加密 - 0:未加密 1:已加密",
  8659. "type": "integer"
  8660. },
  8661. "headurl": {
  8662. "description": "头像地址",
  8663. "type": "string"
  8664. },
  8665. "legalcardbackphotourl": {
  8666. "description": "法人身份证背面照地址",
  8667. "type": "string"
  8668. },
  8669. "legalcardfrontphotourl": {
  8670. "description": "法人身份证正面照地址",
  8671. "type": "string"
  8672. },
  8673. "legalpersonname": {
  8674. "description": "法人姓名(企业)",
  8675. "type": "string"
  8676. },
  8677. "mobile": {
  8678. "description": "手机号码(加密存储)",
  8679. "type": "string"
  8680. },
  8681. "mobile2": {
  8682. "description": "手机号码[明文-尚志]",
  8683. "type": "string"
  8684. },
  8685. "modifierid": {
  8686. "description": "修改人",
  8687. "type": "integer"
  8688. },
  8689. "modifiertime": {
  8690. "description": "修改时间",
  8691. "type": "string"
  8692. },
  8693. "needinvoice": {
  8694. "description": "是否需要发票 - 0:不需要 1:需要",
  8695. "type": "integer"
  8696. },
  8697. "nickname": {
  8698. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  8699. "type": "string"
  8700. },
  8701. "openmode": {
  8702. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  8703. "type": "integer"
  8704. },
  8705. "otherurl": {
  8706. "description": "其它图片地址[使用分号分隔]",
  8707. "type": "string"
  8708. },
  8709. "postalcode": {
  8710. "description": "邮政编码",
  8711. "type": "string"
  8712. },
  8713. "provinceid": {
  8714. "description": "省",
  8715. "type": "integer"
  8716. },
  8717. "qq": {
  8718. "description": "QQ(加密存储",
  8719. "type": "string"
  8720. },
  8721. "remark": {
  8722. "description": "备注",
  8723. "type": "string"
  8724. },
  8725. "sex": {
  8726. "description": "用户性别 0: 女 1: 男",
  8727. "type": "integer"
  8728. },
  8729. "signpdfurl": {
  8730. "description": "签约pdf文件",
  8731. "type": "string"
  8732. },
  8733. "telphone": {
  8734. "description": "联系电话(加密存储)",
  8735. "type": "string"
  8736. },
  8737. "userid": {
  8738. "description": "用户ID",
  8739. "type": "integer"
  8740. },
  8741. "userinfotype": {
  8742. "description": "用户信息类型 - 1:个人 2:企业",
  8743. "type": "integer"
  8744. },
  8745. "userstatus": {
  8746. "description": "用户状态 - 1:正常 2:注销",
  8747. "type": "integer"
  8748. },
  8749. "usertype": {
  8750. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  8751. "type": "integer"
  8752. },
  8753. "wechat": {
  8754. "description": "微信(加密存储)",
  8755. "type": "string"
  8756. },
  8757. "wskhinfo": {
  8758. "description": "开户申请信息(JSON)",
  8759. "type": "string"
  8760. }
  8761. }
  8762. },
  8763. "models.WRCategoryTree": {
  8764. "type": "object",
  8765. "required": [
  8766. "categoryid"
  8767. ],
  8768. "properties": {
  8769. "areauserid": {
  8770. "description": "所属机构",
  8771. "type": "integer"
  8772. },
  8773. "categorydesc": {
  8774. "description": "类别描述",
  8775. "type": "string"
  8776. },
  8777. "categoryid": {
  8778. "description": "类别ID(SEQ_WRCATEGORY)",
  8779. "type": "integer"
  8780. },
  8781. "categoryname": {
  8782. "description": "类别名称",
  8783. "type": "string"
  8784. },
  8785. "iconurl": {
  8786. "description": "图标地址",
  8787. "type": "string"
  8788. },
  8789. "orderindex": {
  8790. "description": "顺序",
  8791. "type": "integer"
  8792. },
  8793. "parentcategoryid": {
  8794. "description": "父类别ID",
  8795. "type": "integer"
  8796. },
  8797. "subCategory": {
  8798. "description": "子分类",
  8799. "type": "array",
  8800. "items": {
  8801. "$ref": "#/definitions/models.WRCategoryTree"
  8802. }
  8803. }
  8804. }
  8805. },
  8806. "models.WRStandardInfo": {
  8807. "type": "object",
  8808. "required": [
  8809. "wrstandardid"
  8810. ],
  8811. "properties": {
  8812. "createtime": {
  8813. "description": "创建时间",
  8814. "type": "string"
  8815. },
  8816. "creatorid": {
  8817. "description": "创建人",
  8818. "type": "integer"
  8819. },
  8820. "deliverygoodsid": {
  8821. "description": "品种ID",
  8822. "type": "integer"
  8823. },
  8824. "deliverygoodsname": {
  8825. "description": "交割商品名称",
  8826. "type": "string"
  8827. },
  8828. "factoryitemjson": {
  8829. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  8830. "type": "string"
  8831. },
  8832. "isvalid": {
  8833. "description": "是否有效 - 0:无效 1:有效",
  8834. "type": "integer"
  8835. },
  8836. "minivalue": {
  8837. "description": "最小变动值",
  8838. "type": "integer"
  8839. },
  8840. "minivaluedp": {
  8841. "description": "最小变动值小数位",
  8842. "type": "integer"
  8843. },
  8844. "realminivalue": {
  8845. "description": "实际最小变动值",
  8846. "type": "integer"
  8847. },
  8848. "realminivaluedp": {
  8849. "description": "实际最小变动值小数位",
  8850. "type": "integer"
  8851. },
  8852. "unitid": {
  8853. "description": "单位ID",
  8854. "type": "integer"
  8855. },
  8856. "unitname": {
  8857. "description": "单位",
  8858. "type": "string"
  8859. },
  8860. "updatetime": {
  8861. "description": "更新时间",
  8862. "type": "string"
  8863. },
  8864. "updatorid": {
  8865. "description": "更新人",
  8866. "type": "integer"
  8867. },
  8868. "wrsstatus": {
  8869. "description": "状态 - 作废 - 0:未激活 1:正常",
  8870. "type": "integer"
  8871. },
  8872. "wrstandardcode": {
  8873. "description": "仓单标准代码",
  8874. "type": "string"
  8875. },
  8876. "wrstandardid": {
  8877. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  8878. "type": "integer"
  8879. },
  8880. "wrstandardname": {
  8881. "description": "仓单标准名称",
  8882. "type": "string"
  8883. }
  8884. }
  8885. },
  8886. "models.Warehouseinfo": {
  8887. "type": "object",
  8888. "required": [
  8889. "autoid",
  8890. "warehousecode"
  8891. ],
  8892. "properties": {
  8893. "address": {
  8894. "description": "详细地址",
  8895. "type": "string"
  8896. },
  8897. "areauserid": {
  8898. "description": "所属机构",
  8899. "type": "integer"
  8900. },
  8901. "autoid": {
  8902. "description": "自增ID",
  8903. "type": "integer"
  8904. },
  8905. "cityid": {
  8906. "description": "市",
  8907. "type": "integer"
  8908. },
  8909. "contactname": {
  8910. "description": "联系人",
  8911. "type": "string"
  8912. },
  8913. "contactnum": {
  8914. "description": "联系电话",
  8915. "type": "string"
  8916. },
  8917. "countryid": {
  8918. "description": "国家",
  8919. "type": "integer"
  8920. },
  8921. "createtime": {
  8922. "description": "创建时间",
  8923. "type": "string"
  8924. },
  8925. "districtid": {
  8926. "description": "区",
  8927. "type": "integer"
  8928. },
  8929. "hasvideo": {
  8930. "description": "是否有视频 - 0:无 1:有",
  8931. "type": "integer"
  8932. },
  8933. "provinceid": {
  8934. "description": "省",
  8935. "type": "integer"
  8936. },
  8937. "remark": {
  8938. "description": "审核备注",
  8939. "type": "string"
  8940. },
  8941. "videourl": {
  8942. "description": "视频地址",
  8943. "type": "string"
  8944. },
  8945. "warehousecode": {
  8946. "description": "仓库代码",
  8947. "type": "string"
  8948. },
  8949. "warehousename": {
  8950. "description": "仓库名称",
  8951. "type": "string"
  8952. },
  8953. "warehousestatus": {
  8954. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  8955. "type": "integer"
  8956. },
  8957. "warehousetype": {
  8958. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  8959. "type": "integer"
  8960. }
  8961. }
  8962. },
  8963. "order.QueryHisTradeDetailRsp": {
  8964. "type": "object",
  8965. "required": [
  8966. "accountid",
  8967. "buyorsell",
  8968. "goodsid",
  8969. "histradedate",
  8970. "marketid",
  8971. "memberuserid",
  8972. "orderid",
  8973. "tradeamount",
  8974. "tradedate",
  8975. "tradeid",
  8976. "tradeprice",
  8977. "tradeqty",
  8978. "tradetime"
  8979. ],
  8980. "properties": {
  8981. "accountid": {
  8982. "description": "账户ID[报价币种]",
  8983. "type": "integer"
  8984. },
  8985. "buildtype": {
  8986. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  8987. "type": "integer"
  8988. },
  8989. "buyorsell": {
  8990. "description": "方向 - 0:买 1:卖",
  8991. "type": "integer"
  8992. },
  8993. "charge": {
  8994. "description": "手续费",
  8995. "type": "number"
  8996. },
  8997. "closecharge": {
  8998. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  8999. "type": "number"
  9000. },
  9001. "closeexchagechargevalue": {
  9002. "description": "平仓交易所手续费设置值",
  9003. "type": "number"
  9004. },
  9005. "closefeealgorithm": {
  9006. "description": "平仓手续费收取方式 1:比率 2:固定",
  9007. "type": "integer"
  9008. },
  9009. "closememberchargevalue": {
  9010. "description": "平仓会员手续费设置值",
  9011. "type": "number"
  9012. },
  9013. "closepl": {
  9014. "description": "平仓盈亏",
  9015. "type": "number"
  9016. },
  9017. "closepl2": {
  9018. "description": "平仓盈亏[逐笔]",
  9019. "type": "number"
  9020. },
  9021. "closeqty": {
  9022. "description": "平仓数量(先建后平操作 需要记录)",
  9023. "type": "integer"
  9024. },
  9025. "creditamount": {
  9026. "description": "授信金额",
  9027. "type": "number"
  9028. },
  9029. "gcaccountid": {
  9030. "description": "账户ID[合约币种]",
  9031. "type": "integer"
  9032. },
  9033. "goodscode": {
  9034. "description": "商品代码",
  9035. "type": "string"
  9036. },
  9037. "goodsid": {
  9038. "description": "商品ID",
  9039. "type": "integer"
  9040. },
  9041. "goodsname": {
  9042. "description": "商品名称",
  9043. "type": "string"
  9044. },
  9045. "histradedate": {
  9046. "description": "历史交易日",
  9047. "type": "string"
  9048. },
  9049. "intclosepl": {
  9050. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  9051. "type": "integer"
  9052. },
  9053. "isconfirmexercise": {
  9054. "description": "是否确认行权- 0:否 1:是",
  9055. "type": "integer"
  9056. },
  9057. "ismain": {
  9058. "description": "是否主单 - 0:不是 1:是",
  9059. "type": "integer"
  9060. },
  9061. "ispreexercise": {
  9062. "description": "是否预申报- 0:否 1:是",
  9063. "type": "integer"
  9064. },
  9065. "isreckoned": {
  9066. "description": "是否结算 - 0:未结算 1:已结算",
  9067. "type": "integer"
  9068. },
  9069. "isvaliddata": {
  9070. "description": "是否有效 - 0:无效 1:有效",
  9071. "type": "integer"
  9072. },
  9073. "listingselecttype": {
  9074. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  9075. "type": "integer"
  9076. },
  9077. "marketid": {
  9078. "description": "市场ID",
  9079. "type": "integer"
  9080. },
  9081. "marketname": {
  9082. "description": "市场名称",
  9083. "type": "string"
  9084. },
  9085. "matchaccountid": {
  9086. "description": "对手账号id",
  9087. "type": "integer"
  9088. },
  9089. "memberuserid": {
  9090. "description": "会员id 个人投资者 需要填写",
  9091. "type": "integer"
  9092. },
  9093. "opencharge": {
  9094. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  9095. "type": "number"
  9096. },
  9097. "openexchagechargevalue": {
  9098. "description": "建仓交易所手续费设置值",
  9099. "type": "number"
  9100. },
  9101. "openfeealgorithm": {
  9102. "description": "建仓手续费收取方式 1:比率 2:固定",
  9103. "type": "integer"
  9104. },
  9105. "openmemberchargevalue": {
  9106. "description": "建仓会员手续费设置值",
  9107. "type": "number"
  9108. },
  9109. "openqty": {
  9110. "description": "开仓数量(先建后平操作 需要记录)",
  9111. "type": "integer"
  9112. },
  9113. "optiontype": {
  9114. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  9115. "type": "integer"
  9116. },
  9117. "orderid": {
  9118. "description": "委托单号",
  9119. "type": "string"
  9120. },
  9121. "performanceplanid": {
  9122. "description": "履约计划ID[期权]",
  9123. "type": "integer"
  9124. },
  9125. "performancestatus": {
  9126. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  9127. "type": "integer"
  9128. },
  9129. "preexerciseprice": {
  9130. "description": "预申报价格",
  9131. "type": "number"
  9132. },
  9133. "premium": {
  9134. "description": "权利金 - [持仓单的权利金]",
  9135. "type": "number"
  9136. },
  9137. "relatedouttradeid": {
  9138. "description": "关联外部成交单ID",
  9139. "type": "integer"
  9140. },
  9141. "status": {
  9142. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  9143. "type": "integer"
  9144. },
  9145. "tradeamount": {
  9146. "description": "成交金额[账户币种,用于所有权]",
  9147. "type": "number"
  9148. },
  9149. "tradedate": {
  9150. "description": "交易日(yyyyMMdd)",
  9151. "type": "string"
  9152. },
  9153. "tradeid": {
  9154. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9155. "type": "string"
  9156. },
  9157. "trademode": {
  9158. "description": "交易模式",
  9159. "type": "integer"
  9160. },
  9161. "tradeprice": {
  9162. "description": "成交价格",
  9163. "type": "number"
  9164. },
  9165. "tradeproperty": {
  9166. "description": "交易属性",
  9167. "type": "integer"
  9168. },
  9169. "tradeqty": {
  9170. "description": "成交数量",
  9171. "type": "integer"
  9172. },
  9173. "tradetime": {
  9174. "description": "成交时间",
  9175. "type": "string"
  9176. },
  9177. "tradetype": {
  9178. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  9179. "type": "integer"
  9180. }
  9181. }
  9182. },
  9183. "order.QueryHisTradeOrderDetailRsp": {
  9184. "type": "object",
  9185. "required": [
  9186. "accountid",
  9187. "buildtype",
  9188. "buyorsell",
  9189. "goodsid",
  9190. "histradedate",
  9191. "marketid",
  9192. "memberuserid",
  9193. "operatetype",
  9194. "orderid",
  9195. "orderqty",
  9196. "ordertime",
  9197. "pricemode",
  9198. "tradedate",
  9199. "validtype"
  9200. ],
  9201. "properties": {
  9202. "accountid": {
  9203. "description": "账户ID[报价币种]",
  9204. "type": "integer"
  9205. },
  9206. "buildtype": {
  9207. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  9208. "type": "integer"
  9209. },
  9210. "buyorsell": {
  9211. "description": "买卖 - 0:买 1:卖",
  9212. "type": "integer"
  9213. },
  9214. "cancelorderid": {
  9215. "description": "撤单单号(撤单时填写)",
  9216. "type": "string"
  9217. },
  9218. "cancelqty": {
  9219. "description": "撤单数量",
  9220. "type": "integer"
  9221. },
  9222. "clientordertime": {
  9223. "description": "客户端委托时间",
  9224. "type": "string"
  9225. },
  9226. "clientticket": {
  9227. "description": "客户端流水号",
  9228. "type": "string"
  9229. },
  9230. "clienttype": {
  9231. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  9232. "type": "integer"
  9233. },
  9234. "closeexchagechargevalue": {
  9235. "description": "平仓交易所手续费设置值",
  9236. "type": "number"
  9237. },
  9238. "closefeealgorithm": {
  9239. "description": "平仓手续费收取方式 1:比率 2:固定",
  9240. "type": "integer"
  9241. },
  9242. "closefreezecharge": {
  9243. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  9244. "type": "number"
  9245. },
  9246. "closememberchargevalue": {
  9247. "description": "平仓会员手续费设置值",
  9248. "type": "number"
  9249. },
  9250. "closeqty": {
  9251. "description": "平仓数量(先建后平操作 需要记录)",
  9252. "type": "integer"
  9253. },
  9254. "closetradeqty": {
  9255. "description": "平仓成交数量(先建后平操作,需要记录)",
  9256. "type": "integer"
  9257. },
  9258. "closeunfreezecharge": {
  9259. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  9260. "type": "number"
  9261. },
  9262. "delistingtype": {
  9263. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  9264. "type": "integer"
  9265. },
  9266. "freezecharge": {
  9267. "description": "冻结手续费",
  9268. "type": "number"
  9269. },
  9270. "freezemargin": {
  9271. "description": "冻结保证金(冻结交易金额)",
  9272. "type": "number"
  9273. },
  9274. "gcaccountid": {
  9275. "description": "账户ID[合约币种]",
  9276. "type": "integer"
  9277. },
  9278. "goodscode": {
  9279. "description": "商品代码",
  9280. "type": "string"
  9281. },
  9282. "goodsid": {
  9283. "description": "商品ID",
  9284. "type": "integer"
  9285. },
  9286. "goodsname": {
  9287. "description": "商品名称",
  9288. "type": "string"
  9289. },
  9290. "histradedate": {
  9291. "description": "历史交易日",
  9292. "type": "string"
  9293. },
  9294. "isconfirmexercise": {
  9295. "description": "是否确认行权- 0:否 1:是",
  9296. "type": "integer"
  9297. },
  9298. "ispreexercise": {
  9299. "description": "是否预申报- 0:否 1:是",
  9300. "type": "integer"
  9301. },
  9302. "isvaliddata": {
  9303. "description": "是否有效 - 0:无效 1:有效",
  9304. "type": "integer"
  9305. },
  9306. "listingselecttype": {
  9307. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  9308. "type": "integer"
  9309. },
  9310. "marginalgorithm": {
  9311. "description": "保证金收取方式 1:比率 2:固定",
  9312. "type": "integer"
  9313. },
  9314. "marginvalue": {
  9315. "description": "即市保证金设置值",
  9316. "type": "number"
  9317. },
  9318. "marketid": {
  9319. "description": "市场ID",
  9320. "type": "integer"
  9321. },
  9322. "marketmaxsub": {
  9323. "description": "市价最大偏移范围",
  9324. "type": "number"
  9325. },
  9326. "marketname": {
  9327. "description": "市场名称",
  9328. "type": "string"
  9329. },
  9330. "memberuserid": {
  9331. "description": "所属会员UserID",
  9332. "type": "integer"
  9333. },
  9334. "openexchagechargevalue": {
  9335. "description": "建仓交易所手续费设置值",
  9336. "type": "number"
  9337. },
  9338. "openfeealgorithm": {
  9339. "description": "建仓手续费收取方式 1:比率 2:固定",
  9340. "type": "integer"
  9341. },
  9342. "openfreezecharge": {
  9343. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  9344. "type": "number"
  9345. },
  9346. "openmemberchargevalue": {
  9347. "description": "建仓会员手续费设置值",
  9348. "type": "number"
  9349. },
  9350. "openqty": {
  9351. "description": "开仓数量(先建后平操作,需要记录)",
  9352. "type": "integer"
  9353. },
  9354. "opentradeqty": {
  9355. "description": "开仓成交数量(先建后平操作,需要记录)",
  9356. "type": "integer"
  9357. },
  9358. "openunfreezecharge": {
  9359. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  9360. "type": "number"
  9361. },
  9362. "operatetype": {
  9363. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  9364. "type": "integer"
  9365. },
  9366. "operatorid": {
  9367. "description": "登录账号(LoginID)",
  9368. "type": "integer"
  9369. },
  9370. "optiontype": {
  9371. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  9372. "type": "integer"
  9373. },
  9374. "orderid": {
  9375. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9376. "type": "string"
  9377. },
  9378. "orderprice": {
  9379. "description": "委托价格",
  9380. "type": "number"
  9381. },
  9382. "orderqty": {
  9383. "description": "委托数量",
  9384. "type": "integer"
  9385. },
  9386. "ordersrc": {
  9387. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  9388. "type": "integer"
  9389. },
  9390. "orderstatus": {
  9391. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  9392. "type": "integer"
  9393. },
  9394. "ordertime": {
  9395. "description": "委托时间",
  9396. "type": "string"
  9397. },
  9398. "preexerciseprice": {
  9399. "description": "预申报价格",
  9400. "type": "number"
  9401. },
  9402. "premium": {
  9403. "description": "权利金",
  9404. "type": "number"
  9405. },
  9406. "preorderid": {
  9407. "description": "关联预埋单号(止盈止损单时填写)",
  9408. "type": "string"
  9409. },
  9410. "pricemode": {
  9411. "description": "取价方式 - 1:市价 2: 限价",
  9412. "type": "integer"
  9413. },
  9414. "quoteid": {
  9415. "description": "报价单ID",
  9416. "type": "integer"
  9417. },
  9418. "relatedid": {
  9419. "description": "关联单号(交割单)",
  9420. "type": "string"
  9421. },
  9422. "retcode": {
  9423. "description": "错误代码",
  9424. "type": "integer"
  9425. },
  9426. "sessionid": {
  9427. "description": "会话ID",
  9428. "type": "integer"
  9429. },
  9430. "tradedate": {
  9431. "description": "交易日(yyyyMMdd)",
  9432. "type": "string"
  9433. },
  9434. "trademode": {
  9435. "description": "交易模式",
  9436. "type": "integer"
  9437. },
  9438. "tradeproperty": {
  9439. "description": "交易属性",
  9440. "type": "integer"
  9441. },
  9442. "tradeqty": {
  9443. "description": "成交数量",
  9444. "type": "integer"
  9445. },
  9446. "unfreezecharge": {
  9447. "description": "解冻手续费",
  9448. "type": "number"
  9449. },
  9450. "unfreezemargin": {
  9451. "description": "解冻保证金",
  9452. "type": "number"
  9453. },
  9454. "updatetime": {
  9455. "description": "更新时间",
  9456. "type": "string"
  9457. },
  9458. "uuid": {
  9459. "description": "发起端唯一id",
  9460. "type": "string"
  9461. },
  9462. "validtime": {
  9463. "description": "有效期限",
  9464. "type": "string"
  9465. },
  9466. "validtype": {
  9467. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  9468. "type": "integer"
  9469. },
  9470. "volumetype": {
  9471. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  9472. "type": "integer"
  9473. }
  9474. }
  9475. },
  9476. "order.QueryTradeDetailRsp": {
  9477. "type": "object",
  9478. "required": [
  9479. "accountid",
  9480. "buyorsell",
  9481. "goodsid",
  9482. "marketid",
  9483. "memberuserid",
  9484. "orderid",
  9485. "tradeamount",
  9486. "tradedate",
  9487. "tradeid",
  9488. "tradeprice",
  9489. "tradeqty",
  9490. "tradetime"
  9491. ],
  9492. "properties": {
  9493. "accountid": {
  9494. "description": "账户ID[报价币种]",
  9495. "type": "integer"
  9496. },
  9497. "buildtype": {
  9498. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  9499. "type": "integer"
  9500. },
  9501. "buyorsell": {
  9502. "description": "方向 - 0:买 1:卖",
  9503. "type": "integer"
  9504. },
  9505. "charge": {
  9506. "description": "手续费",
  9507. "type": "number"
  9508. },
  9509. "closecharge": {
  9510. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  9511. "type": "number"
  9512. },
  9513. "closeexchagechargevalue": {
  9514. "description": "平仓交易所手续费设置值",
  9515. "type": "number"
  9516. },
  9517. "closefeealgorithm": {
  9518. "description": "平仓手续费收取方式 1:比率 2:固定",
  9519. "type": "integer"
  9520. },
  9521. "closememberchargevalue": {
  9522. "description": "平仓会员手续费设置值",
  9523. "type": "number"
  9524. },
  9525. "closepl": {
  9526. "description": "平仓盈亏",
  9527. "type": "number"
  9528. },
  9529. "closepl2": {
  9530. "description": "平仓盈亏[逐笔]",
  9531. "type": "number"
  9532. },
  9533. "closeqty": {
  9534. "description": "平仓数量(先建后平操作 需要记录)",
  9535. "type": "integer"
  9536. },
  9537. "creditamount": {
  9538. "description": "授信金额",
  9539. "type": "number"
  9540. },
  9541. "gcaccountid": {
  9542. "description": "账户ID[合约币种]",
  9543. "type": "integer"
  9544. },
  9545. "goodscode": {
  9546. "description": "商品代码",
  9547. "type": "string"
  9548. },
  9549. "goodsid": {
  9550. "description": "商品ID",
  9551. "type": "integer"
  9552. },
  9553. "goodsname": {
  9554. "description": "商品名称",
  9555. "type": "string"
  9556. },
  9557. "intclosepl": {
  9558. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  9559. "type": "integer"
  9560. },
  9561. "isconfirmexercise": {
  9562. "description": "是否确认行权- 0:否 1:是",
  9563. "type": "integer"
  9564. },
  9565. "ismain": {
  9566. "description": "是否主单 - 0:不是 1:是",
  9567. "type": "integer"
  9568. },
  9569. "ispreexercise": {
  9570. "description": "是否预申报- 0:否 1:是",
  9571. "type": "integer"
  9572. },
  9573. "isreckoned": {
  9574. "description": "是否结算 - 0:未结算 1:已结算",
  9575. "type": "integer"
  9576. },
  9577. "listingselecttype": {
  9578. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  9579. "type": "integer"
  9580. },
  9581. "marketid": {
  9582. "description": "市场ID",
  9583. "type": "integer"
  9584. },
  9585. "marketname": {
  9586. "description": "市场名称",
  9587. "type": "string"
  9588. },
  9589. "matchaccountid": {
  9590. "description": "对手账号id",
  9591. "type": "integer"
  9592. },
  9593. "memberuserid": {
  9594. "description": "会员id 个人投资者 需要填写",
  9595. "type": "integer"
  9596. },
  9597. "opencharge": {
  9598. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  9599. "type": "number"
  9600. },
  9601. "openexchagechargevalue": {
  9602. "description": "建仓交易所手续费设置值",
  9603. "type": "number"
  9604. },
  9605. "openfeealgorithm": {
  9606. "description": "建仓手续费收取方式 1:比率 2:固定",
  9607. "type": "integer"
  9608. },
  9609. "openmemberchargevalue": {
  9610. "description": "建仓会员手续费设置值",
  9611. "type": "number"
  9612. },
  9613. "openqty": {
  9614. "description": "开仓数量(先建后平操作 需要记录)",
  9615. "type": "integer"
  9616. },
  9617. "optiontype": {
  9618. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  9619. "type": "integer"
  9620. },
  9621. "orderid": {
  9622. "description": "委托单号",
  9623. "type": "string"
  9624. },
  9625. "performanceplanid": {
  9626. "description": "履约计划ID[期权]",
  9627. "type": "integer"
  9628. },
  9629. "performancestatus": {
  9630. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  9631. "type": "integer"
  9632. },
  9633. "preexerciseprice": {
  9634. "description": "预申报价格",
  9635. "type": "number"
  9636. },
  9637. "premium": {
  9638. "description": "权利金 - [持仓单的权利金]",
  9639. "type": "number"
  9640. },
  9641. "relatedouttradeid": {
  9642. "description": "关联外部成交单ID",
  9643. "type": "integer"
  9644. },
  9645. "status": {
  9646. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  9647. "type": "integer"
  9648. },
  9649. "tradeamount": {
  9650. "description": "成交金额[账户币种,用于所有权]",
  9651. "type": "number"
  9652. },
  9653. "tradedate": {
  9654. "description": "交易日(yyyyMMdd)",
  9655. "type": "string"
  9656. },
  9657. "tradeid": {
  9658. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9659. "type": "string"
  9660. },
  9661. "trademode": {
  9662. "description": "交易模式",
  9663. "type": "integer"
  9664. },
  9665. "tradeprice": {
  9666. "description": "成交价格",
  9667. "type": "number"
  9668. },
  9669. "tradeproperty": {
  9670. "description": "交易属性",
  9671. "type": "integer"
  9672. },
  9673. "tradeqty": {
  9674. "description": "成交数量",
  9675. "type": "integer"
  9676. },
  9677. "tradetime": {
  9678. "description": "成交时间",
  9679. "type": "string"
  9680. },
  9681. "tradetype": {
  9682. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  9683. "type": "integer"
  9684. }
  9685. }
  9686. },
  9687. "order.QueryTradeOrderDetailRsp": {
  9688. "type": "object",
  9689. "required": [
  9690. "accountid",
  9691. "buildtype",
  9692. "buyorsell",
  9693. "goodsid",
  9694. "marketid",
  9695. "operatetype",
  9696. "orderqty",
  9697. "ordertime",
  9698. "pricemode",
  9699. "tradedate",
  9700. "validtype"
  9701. ],
  9702. "properties": {
  9703. "accountid": {
  9704. "description": "账户ID[报价币种]",
  9705. "type": "integer"
  9706. },
  9707. "buildtype": {
  9708. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  9709. "type": "integer"
  9710. },
  9711. "buyorsell": {
  9712. "description": "买卖 - 0:买 1:卖",
  9713. "type": "integer"
  9714. },
  9715. "cancelorderid": {
  9716. "description": "撤单单号(撤单时填写)",
  9717. "type": "string"
  9718. },
  9719. "cancelqty": {
  9720. "description": "撤单数量",
  9721. "type": "integer"
  9722. },
  9723. "clienttype": {
  9724. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  9725. "type": "integer"
  9726. },
  9727. "closefreezecharge": {
  9728. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  9729. "type": "number"
  9730. },
  9731. "closeqty": {
  9732. "description": "平仓数量(先建后平操作 需要记录)",
  9733. "type": "integer"
  9734. },
  9735. "closetradeqty": {
  9736. "description": "平仓成交数量(先建后平操作,需要记录)",
  9737. "type": "integer"
  9738. },
  9739. "closeunfreezecharge": {
  9740. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  9741. "type": "number"
  9742. },
  9743. "delistingtype": {
  9744. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  9745. "type": "integer"
  9746. },
  9747. "enableqty": {
  9748. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  9749. "type": "integer"
  9750. },
  9751. "freezecharge": {
  9752. "description": "冻结手续费",
  9753. "type": "number"
  9754. },
  9755. "freezemargin": {
  9756. "description": "冻结保证金(冻结交易金额)",
  9757. "type": "number"
  9758. },
  9759. "goodscode": {
  9760. "description": "商品代码",
  9761. "type": "string"
  9762. },
  9763. "goodsid": {
  9764. "description": "商品ID",
  9765. "type": "integer"
  9766. },
  9767. "goodsname": {
  9768. "description": "商品名称",
  9769. "type": "string"
  9770. },
  9771. "listingselecttype": {
  9772. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  9773. "type": "integer"
  9774. },
  9775. "marketid": {
  9776. "description": "市场ID",
  9777. "type": "integer"
  9778. },
  9779. "marketname": {
  9780. "description": "市场名称",
  9781. "type": "string"
  9782. },
  9783. "openfreezecharge": {
  9784. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  9785. "type": "number"
  9786. },
  9787. "openqty": {
  9788. "description": "开仓数量(先建后平操作,需要记录)",
  9789. "type": "integer"
  9790. },
  9791. "opentradeqty": {
  9792. "description": "开仓成交数量(先建后平操作,需要记录)",
  9793. "type": "integer"
  9794. },
  9795. "openunfreezecharge": {
  9796. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  9797. "type": "number"
  9798. },
  9799. "operatetype": {
  9800. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  9801. "type": "integer"
  9802. },
  9803. "operatorid": {
  9804. "description": "登录账号(LoginID)",
  9805. "type": "integer"
  9806. },
  9807. "orderid": {
  9808. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9809. "type": "string"
  9810. },
  9811. "orderprice": {
  9812. "description": "委托价格",
  9813. "type": "number"
  9814. },
  9815. "orderqty": {
  9816. "description": "委托数量",
  9817. "type": "integer"
  9818. },
  9819. "ordersrc": {
  9820. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  9821. "type": "integer"
  9822. },
  9823. "orderstatus": {
  9824. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  9825. "type": "integer"
  9826. },
  9827. "ordertime": {
  9828. "description": "委托时间",
  9829. "type": "string"
  9830. },
  9831. "preorderid": {
  9832. "description": "关联预埋单号(止盈止损单时填写)",
  9833. "type": "string"
  9834. },
  9835. "pricemode": {
  9836. "description": "取价方式 - 1:市价 2: 限价",
  9837. "type": "integer"
  9838. },
  9839. "relatedid": {
  9840. "description": "关联单号(交割单)",
  9841. "type": "string"
  9842. },
  9843. "tradedate": {
  9844. "description": "交易日(yyyyMMdd)",
  9845. "type": "string"
  9846. },
  9847. "trademode": {
  9848. "description": "交易模式",
  9849. "type": "integer"
  9850. },
  9851. "tradeqty": {
  9852. "description": "成交数量",
  9853. "type": "integer"
  9854. },
  9855. "unfreezecharge": {
  9856. "description": "解冻手续费",
  9857. "type": "number"
  9858. },
  9859. "unfreezemargin": {
  9860. "description": "解冻保证金",
  9861. "type": "number"
  9862. },
  9863. "validtime": {
  9864. "description": "有效期限",
  9865. "type": "string"
  9866. },
  9867. "validtype": {
  9868. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  9869. "type": "integer"
  9870. },
  9871. "volumetype": {
  9872. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  9873. "type": "integer"
  9874. }
  9875. }
  9876. },
  9877. "order.QueryTradePositionRsp": {
  9878. "type": "object",
  9879. "required": [
  9880. "goodsid"
  9881. ],
  9882. "properties": {
  9883. "accountid": {
  9884. "description": "资金账户",
  9885. "type": "integer"
  9886. },
  9887. "agreeunit": {
  9888. "description": "合约单位",
  9889. "type": "number"
  9890. },
  9891. "averageprice": {
  9892. "description": "持仓均价",
  9893. "type": "number"
  9894. },
  9895. "buyorsell": {
  9896. "description": "方向 - 0:买 1:卖",
  9897. "type": "integer"
  9898. },
  9899. "closetotalqty": {
  9900. "description": "平仓总数量",
  9901. "type": "integer"
  9902. },
  9903. "curholderamount": {
  9904. "description": "当前持仓总金额[商品币种]",
  9905. "type": "number"
  9906. },
  9907. "curpositionqty": {
  9908. "description": "当前持仓总数量",
  9909. "type": "integer"
  9910. },
  9911. "currencyid": {
  9912. "description": "报价货币ID",
  9913. "type": "integer"
  9914. },
  9915. "curtdposition": {
  9916. "description": "期末今日头寸",
  9917. "type": "integer"
  9918. },
  9919. "decimalplace": {
  9920. "description": "报价小数位",
  9921. "type": "integer"
  9922. },
  9923. "enableqty": {
  9924. "description": "可用量",
  9925. "type": "integer"
  9926. },
  9927. "fretdposition": {
  9928. "description": "冻结今日头寸",
  9929. "type": "integer"
  9930. },
  9931. "frozenqty": {
  9932. "description": "持仓冻结数量",
  9933. "type": "integer"
  9934. },
  9935. "goodscode": {
  9936. "description": "商品代码",
  9937. "type": "string"
  9938. },
  9939. "goodsid": {
  9940. "description": "商品Id",
  9941. "type": "integer"
  9942. },
  9943. "goodsname": {
  9944. "description": "商品名称",
  9945. "type": "string"
  9946. },
  9947. "goodunit": {
  9948. "description": "报价单位",
  9949. "type": "string"
  9950. },
  9951. "goodunitid": {
  9952. "description": "报价单位ID",
  9953. "type": "integer"
  9954. },
  9955. "holderamount": {
  9956. "description": "期初持仓总金额[商品币种]",
  9957. "type": "number"
  9958. },
  9959. "marketid": {
  9960. "description": "所属市场ID",
  9961. "type": "integer"
  9962. },
  9963. "openreqqty": {
  9964. "description": "开仓申请数量(用于比较最大持仓数量)",
  9965. "type": "integer"
  9966. },
  9967. "opentotalqty": {
  9968. "description": "开仓总数量",
  9969. "type": "integer"
  9970. },
  9971. "otherfrozenqty": {
  9972. "description": "持仓其他冻结数量(交割冻结)",
  9973. "type": "integer"
  9974. },
  9975. "positionqty": {
  9976. "description": "期初持仓数量",
  9977. "type": "integer"
  9978. },
  9979. "tnqty": {
  9980. "description": "T+N冻结总量",
  9981. "type": "integer"
  9982. },
  9983. "tnusedqty": {
  9984. "description": "T+N使用量(可以使用T+N的冻结数量)",
  9985. "type": "integer"
  9986. },
  9987. "trademode": {
  9988. "description": "交易模式",
  9989. "type": "integer"
  9990. },
  9991. "usedmargin": {
  9992. "description": "占用保证金[商品币种]",
  9993. "type": "number"
  9994. }
  9995. }
  9996. },
  9997. "quote.HistoryData": {
  9998. "type": "object",
  9999. "properties": {
  10000. "c": {
  10001. "description": "收盘价",
  10002. "type": "number"
  10003. },
  10004. "h": {
  10005. "description": "最高价",
  10006. "type": "number"
  10007. },
  10008. "hv": {
  10009. "description": "持仓量",
  10010. "type": "integer"
  10011. },
  10012. "l": {
  10013. "description": "最低价",
  10014. "type": "number"
  10015. },
  10016. "o": {
  10017. "description": "开盘价",
  10018. "type": "number"
  10019. },
  10020. "s": {
  10021. "description": "结算价,日线周期(包括)以上才有",
  10022. "type": "number"
  10023. },
  10024. "ts": {
  10025. "description": "时间",
  10026. "type": "string"
  10027. },
  10028. "tt": {
  10029. "description": "总金额",
  10030. "type": "number"
  10031. },
  10032. "tv": {
  10033. "description": "总量",
  10034. "type": "integer"
  10035. }
  10036. }
  10037. },
  10038. "quote.QueryTSDataRsp": {
  10039. "type": "object",
  10040. "properties": {
  10041. "decimalPlace": {
  10042. "description": "小数位",
  10043. "type": "integer"
  10044. },
  10045. "endTime": {
  10046. "description": "结束时间",
  10047. "type": "string"
  10048. },
  10049. "goodsCode": {
  10050. "description": "商品代码",
  10051. "type": "string"
  10052. },
  10053. "historyDatas": {
  10054. "description": "历史数据",
  10055. "type": "array",
  10056. "items": {
  10057. "$ref": "#/definitions/quote.HistoryData"
  10058. }
  10059. },
  10060. "preSettle": {
  10061. "description": "昨结",
  10062. "type": "number"
  10063. },
  10064. "startTime": {
  10065. "description": "开始时间",
  10066. "type": "string"
  10067. },
  10068. "tradeDate": {
  10069. "description": "交易日",
  10070. "type": "string"
  10071. }
  10072. }
  10073. },
  10074. "szdz.QueryConvertLogRsp": {
  10075. "type": "object",
  10076. "required": [
  10077. "logid"
  10078. ],
  10079. "properties": {
  10080. "accountid": {
  10081. "description": "资金账户ID",
  10082. "type": "integer"
  10083. },
  10084. "clientticket": {
  10085. "description": "客户端流水号",
  10086. "type": "string"
  10087. },
  10088. "converttype": {
  10089. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  10090. "type": "integer"
  10091. },
  10092. "createtime": {
  10093. "description": "记账时间",
  10094. "type": "string"
  10095. },
  10096. "daymaxvalue": {
  10097. "description": "配置当日最大转入限制",
  10098. "type": "number"
  10099. },
  10100. "daymaxvalue2": {
  10101. "description": "配置当日最大转入限制(转入)",
  10102. "type": "number"
  10103. },
  10104. "goodscode": {
  10105. "description": "商品代码",
  10106. "type": "string"
  10107. },
  10108. "goodsname": {
  10109. "description": "商品名称",
  10110. "type": "string"
  10111. },
  10112. "handlestatus": {
  10113. "description": "处理状态",
  10114. "type": "integer"
  10115. },
  10116. "innergoodsid": {
  10117. "description": "内部商品ID",
  10118. "type": "integer"
  10119. },
  10120. "inratio": {
  10121. "description": "配置转入比值",
  10122. "type": "integer"
  10123. },
  10124. "invalue": {
  10125. "description": "目标值",
  10126. "type": "number"
  10127. },
  10128. "logid": {
  10129. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10130. "type": "integer"
  10131. },
  10132. "mobile": {
  10133. "description": "手机号码(加密存储)",
  10134. "type": "string"
  10135. },
  10136. "outergoodscode": {
  10137. "description": "外部商品代码[JD\\PD]",
  10138. "type": "string"
  10139. },
  10140. "outratio": {
  10141. "description": "配置转出比值",
  10142. "type": "integer"
  10143. },
  10144. "outvalue": {
  10145. "description": "源值",
  10146. "type": "number"
  10147. },
  10148. "pddecimalplace": {
  10149. "description": "PD小数位",
  10150. "type": "integer"
  10151. },
  10152. "qty": {
  10153. "description": "数量",
  10154. "type": "string"
  10155. },
  10156. "remark": {
  10157. "description": "备注",
  10158. "type": "string"
  10159. },
  10160. "sessionid": {
  10161. "description": "会话ID",
  10162. "type": "integer"
  10163. },
  10164. "timemaxvalue": {
  10165. "description": "配置单次最大转入限制",
  10166. "type": "number"
  10167. },
  10168. "timemaxvalue2": {
  10169. "description": "配置单次最大转入限制(转入)",
  10170. "type": "number"
  10171. },
  10172. "timeminvalue": {
  10173. "description": "配置单次最小数量限制",
  10174. "type": "number"
  10175. },
  10176. "timeminvalue2": {
  10177. "description": "配置单次最小数量限制(转入)",
  10178. "type": "number"
  10179. },
  10180. "tradedate": {
  10181. "description": "交易日(yyyyMMdd)",
  10182. "type": "string"
  10183. },
  10184. "userid": {
  10185. "description": "用户ID",
  10186. "type": "integer"
  10187. }
  10188. }
  10189. },
  10190. "szdz.QueryGoodsPickupRsp": {
  10191. "type": "object",
  10192. "required": [
  10193. "takeorderid"
  10194. ],
  10195. "properties": {
  10196. "accountid": {
  10197. "description": "账户ID",
  10198. "type": "integer"
  10199. },
  10200. "address": {
  10201. "description": "提货人详细地址",
  10202. "type": "string"
  10203. },
  10204. "auditer": {
  10205. "description": "审核人",
  10206. "type": "integer"
  10207. },
  10208. "audittime": {
  10209. "description": "审核时间",
  10210. "type": "string"
  10211. },
  10212. "cardnum": {
  10213. "description": "提货人证件号码",
  10214. "type": "string"
  10215. },
  10216. "cardtypeid": {
  10217. "description": "提货人证件类型",
  10218. "type": "integer"
  10219. },
  10220. "checkremark": {
  10221. "description": "审核备注",
  10222. "type": "string"
  10223. },
  10224. "goodscode": {
  10225. "description": "商品代码",
  10226. "type": "string"
  10227. },
  10228. "goodsid": {
  10229. "description": "商品ID",
  10230. "type": "integer"
  10231. },
  10232. "goodsname": {
  10233. "description": "商品名称",
  10234. "type": "string"
  10235. },
  10236. "handlestatus": {
  10237. "description": "处理状态",
  10238. "type": "integer"
  10239. },
  10240. "marketid": {
  10241. "description": "市场ID",
  10242. "type": "integer"
  10243. },
  10244. "phonenum": {
  10245. "description": "提货人联系方式",
  10246. "type": "string"
  10247. },
  10248. "qty": {
  10249. "description": "提货数量",
  10250. "type": "number"
  10251. },
  10252. "recivername": {
  10253. "description": "提货人姓名",
  10254. "type": "string"
  10255. },
  10256. "reqtime": {
  10257. "description": "更新时间",
  10258. "type": "string"
  10259. },
  10260. "takemode": {
  10261. "description": "提货方式 - 2:自提 3:配送",
  10262. "type": "integer"
  10263. },
  10264. "takeorderid": {
  10265. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  10266. "type": "string"
  10267. },
  10268. "takeorderstatus": {
  10269. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  10270. "type": "integer"
  10271. },
  10272. "takeremark": {
  10273. "description": "提货备注",
  10274. "type": "string"
  10275. },
  10276. "tradedate": {
  10277. "description": "交易日(yyyyMMdd)",
  10278. "type": "string"
  10279. },
  10280. "userid": {
  10281. "description": "用户ID",
  10282. "type": "integer"
  10283. }
  10284. }
  10285. },
  10286. "szdz.QueryRecieptOrderRsp": {
  10287. "type": "object",
  10288. "required": [
  10289. "ordertime"
  10290. ],
  10291. "properties": {
  10292. "accountName": {
  10293. "description": "所属账号名称(已脱敏)",
  10294. "type": "string"
  10295. },
  10296. "accountid": {
  10297. "description": "资金账号",
  10298. "type": "integer"
  10299. },
  10300. "buyorsell": {
  10301. "description": "方向 - 0:买 1:卖",
  10302. "type": "integer"
  10303. },
  10304. "enableqty": {
  10305. "description": "可摘数量",
  10306. "type": "integer"
  10307. },
  10308. "goodscode": {
  10309. "description": "商品代码",
  10310. "type": "string"
  10311. },
  10312. "goodsid": {
  10313. "description": "商品ID",
  10314. "type": "integer"
  10315. },
  10316. "goodsname": {
  10317. "description": "商品名称",
  10318. "type": "string"
  10319. },
  10320. "orderid": {
  10321. "description": "委托单号",
  10322. "type": "string"
  10323. },
  10324. "orderprice": {
  10325. "description": "委托价格",
  10326. "type": "number"
  10327. },
  10328. "ordertime": {
  10329. "description": "委托时间",
  10330. "type": "string"
  10331. },
  10332. "tradedate": {
  10333. "description": "交易日(yyyyMMdd)",
  10334. "type": "string"
  10335. }
  10336. }
  10337. },
  10338. "szdz.QuerySZDZTradePositionRsp": {
  10339. "type": "object",
  10340. "properties": {
  10341. "accountid": {
  10342. "description": "账号Id",
  10343. "type": "integer"
  10344. },
  10345. "agreeunit": {
  10346. "description": "合约单位",
  10347. "type": "number"
  10348. },
  10349. "averageprice": {
  10350. "description": "持仓均价",
  10351. "type": "number"
  10352. },
  10353. "buyorsell": {
  10354. "description": "方向 - 0:买 1:卖",
  10355. "type": "integer"
  10356. },
  10357. "closetotalqty": {
  10358. "description": "平仓总数量",
  10359. "type": "integer"
  10360. },
  10361. "curholderamount": {
  10362. "description": "当前持仓总金额",
  10363. "type": "number"
  10364. },
  10365. "curpositionqty": {
  10366. "description": "当前持仓总数量",
  10367. "type": "integer"
  10368. },
  10369. "currencyid": {
  10370. "description": "报价货币ID",
  10371. "type": "integer"
  10372. },
  10373. "curtdposition": {
  10374. "description": "期末今日头寸",
  10375. "type": "integer"
  10376. },
  10377. "decimalplace": {
  10378. "description": "报价小数位",
  10379. "type": "integer"
  10380. },
  10381. "enableqty": {
  10382. "description": "可用量",
  10383. "type": "integer"
  10384. },
  10385. "fretdposition": {
  10386. "description": "冻结今日头寸",
  10387. "type": "integer"
  10388. },
  10389. "frozenqty": {
  10390. "description": "持仓冻结数量",
  10391. "type": "integer"
  10392. },
  10393. "goodscode": {
  10394. "description": "商品代码(内部)",
  10395. "type": "string"
  10396. },
  10397. "goodsid": {
  10398. "description": "商品Id",
  10399. "type": "integer"
  10400. },
  10401. "goodsname": {
  10402. "description": "商品名称",
  10403. "type": "string"
  10404. },
  10405. "goodunit": {
  10406. "description": "报价单位",
  10407. "type": "string"
  10408. },
  10409. "goodunitid": {
  10410. "description": "报价单位ID",
  10411. "type": "integer"
  10412. },
  10413. "holderamount": {
  10414. "description": "期初持仓总金额",
  10415. "type": "number"
  10416. },
  10417. "marketid": {
  10418. "description": "市场ID",
  10419. "type": "integer"
  10420. },
  10421. "openreqqty": {
  10422. "description": "开仓申请数量",
  10423. "type": "integer"
  10424. },
  10425. "opentotalqty": {
  10426. "description": "开仓总数量",
  10427. "type": "integer"
  10428. },
  10429. "otherfrozenqty": {
  10430. "description": "持仓其他冻结数量(交割冻结)",
  10431. "type": "integer"
  10432. },
  10433. "positionqty": {
  10434. "description": "期初持仓数量",
  10435. "type": "integer"
  10436. },
  10437. "szdz3freezqty": {
  10438. "description": "尚志大宗转换冻结总数量",
  10439. "type": "integer"
  10440. },
  10441. "tnqty": {
  10442. "description": "T+N冻结总量",
  10443. "type": "integer"
  10444. },
  10445. "tnusedqty": {
  10446. "description": "T+N使用量",
  10447. "type": "integer"
  10448. },
  10449. "trademode": {
  10450. "description": "交易模式",
  10451. "type": "integer"
  10452. },
  10453. "usedmargin": {
  10454. "description": "占用保证金",
  10455. "type": "number"
  10456. }
  10457. }
  10458. },
  10459. "taaccount.QueryAmountLogRsp": {
  10460. "type": "object",
  10461. "required": [
  10462. "accountid",
  10463. "amount",
  10464. "amountadjusttype",
  10465. "autoid",
  10466. "balance",
  10467. "createtime",
  10468. "currentbalance",
  10469. "operatetype"
  10470. ],
  10471. "properties": {
  10472. "OPERATETYPENAME": {
  10473. "description": "资金操作类型名称",
  10474. "type": "string"
  10475. },
  10476. "accountid": {
  10477. "description": "资金账户ID",
  10478. "type": "integer"
  10479. },
  10480. "agoodscode": {
  10481. "description": "竞拍商品代码",
  10482. "type": "string"
  10483. },
  10484. "agoodsname": {
  10485. "description": "竞拍商品名称",
  10486. "type": "string"
  10487. },
  10488. "amount": {
  10489. "description": "资金金额",
  10490. "type": "number"
  10491. },
  10492. "amountadjusttype": {
  10493. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  10494. "type": "integer"
  10495. },
  10496. "autoid": {
  10497. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  10498. "type": "integer"
  10499. },
  10500. "balance": {
  10501. "description": "期初余额",
  10502. "type": "number"
  10503. },
  10504. "businesscode": {
  10505. "description": "业务编号",
  10506. "type": "integer"
  10507. },
  10508. "createtime": {
  10509. "description": "发生时间",
  10510. "type": "string"
  10511. },
  10512. "currencyid": {
  10513. "description": "币种ID",
  10514. "type": "integer"
  10515. },
  10516. "currentbalance": {
  10517. "description": "期末余额(变动后金额)",
  10518. "type": "number"
  10519. },
  10520. "dgoodscode": {
  10521. "description": "交割商品代码",
  10522. "type": "string"
  10523. },
  10524. "dgoodsname": {
  10525. "description": "交割商品名称",
  10526. "type": "string"
  10527. },
  10528. "goodscode": {
  10529. "description": "商品代码",
  10530. "type": "string"
  10531. },
  10532. "goodsid": {
  10533. "description": "商品ID",
  10534. "type": "integer"
  10535. },
  10536. "goodsname": {
  10537. "description": "商品名称",
  10538. "type": "string"
  10539. },
  10540. "marketid": {
  10541. "description": "市场ID",
  10542. "type": "integer"
  10543. },
  10544. "marketname": {
  10545. "description": "市场名称",
  10546. "type": "string"
  10547. },
  10548. "moneyticket": {
  10549. "description": "资金流水号:银行端流水号",
  10550. "type": "integer"
  10551. },
  10552. "operatetype": {
  10553. "description": "资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款",
  10554. "type": "integer"
  10555. },
  10556. "relationorderid": {
  10557. "description": "关联单号",
  10558. "type": "string"
  10559. },
  10560. "remark": {
  10561. "description": "备注",
  10562. "type": "string"
  10563. },
  10564. "trademode": {
  10565. "description": "交易模式",
  10566. "type": "integer"
  10567. }
  10568. }
  10569. },
  10570. "taaccount.QueryHisAmountLogRsp": {
  10571. "type": "object",
  10572. "required": [
  10573. "accountid",
  10574. "amount",
  10575. "amountadjusttype",
  10576. "autoid",
  10577. "balance",
  10578. "createtime",
  10579. "currentbalance",
  10580. "histradedate",
  10581. "operatetype"
  10582. ],
  10583. "properties": {
  10584. "OPERATETYPENAME": {
  10585. "description": "资金操作类型名称",
  10586. "type": "string"
  10587. },
  10588. "accountid": {
  10589. "description": "资金账户ID",
  10590. "type": "integer"
  10591. },
  10592. "agoodscode": {
  10593. "description": "竞拍商品代码",
  10594. "type": "string"
  10595. },
  10596. "agoodsname": {
  10597. "description": "竞拍商品名称",
  10598. "type": "string"
  10599. },
  10600. "amount": {
  10601. "description": "资金金额",
  10602. "type": "number"
  10603. },
  10604. "amountadjusttype": {
  10605. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  10606. "type": "integer"
  10607. },
  10608. "autoid": {
  10609. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  10610. "type": "integer"
  10611. },
  10612. "balance": {
  10613. "description": "期初余额",
  10614. "type": "number"
  10615. },
  10616. "businesscode": {
  10617. "description": "业务编号",
  10618. "type": "integer"
  10619. },
  10620. "createtime": {
  10621. "description": "发生时间",
  10622. "type": "string"
  10623. },
  10624. "currencyid": {
  10625. "description": "币种ID",
  10626. "type": "integer"
  10627. },
  10628. "currentbalance": {
  10629. "description": "期末余额(变动后金额)",
  10630. "type": "number"
  10631. },
  10632. "dgoodscode": {
  10633. "description": "交割商品代码",
  10634. "type": "string"
  10635. },
  10636. "dgoodsname": {
  10637. "description": "交割商品名称",
  10638. "type": "string"
  10639. },
  10640. "goodscode": {
  10641. "description": "商品代码",
  10642. "type": "string"
  10643. },
  10644. "goodsid": {
  10645. "description": "商品ID",
  10646. "type": "integer"
  10647. },
  10648. "goodsname": {
  10649. "description": "商品名称",
  10650. "type": "string"
  10651. },
  10652. "histradedate": {
  10653. "description": "历史交易日",
  10654. "type": "string"
  10655. },
  10656. "isvaliddata": {
  10657. "description": "是否有效 - 0:无效 1:有效",
  10658. "type": "integer"
  10659. },
  10660. "marketid": {
  10661. "description": "市场ID",
  10662. "type": "integer"
  10663. },
  10664. "marketname": {
  10665. "description": "市场名称",
  10666. "type": "string"
  10667. },
  10668. "moneyticket": {
  10669. "description": "资金流水号:银行端流水号",
  10670. "type": "integer"
  10671. },
  10672. "operatetype": {
  10673. "description": "资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款",
  10674. "type": "integer"
  10675. },
  10676. "relationorderid": {
  10677. "description": "关联单号",
  10678. "type": "string"
  10679. },
  10680. "remark": {
  10681. "description": "备注",
  10682. "type": "string"
  10683. },
  10684. "trademode": {
  10685. "description": "交易模式",
  10686. "type": "integer"
  10687. }
  10688. }
  10689. },
  10690. "trade.QueryRecieptOrderRsp": {
  10691. "type": "object",
  10692. "required": [
  10693. "ordertime"
  10694. ],
  10695. "properties": {
  10696. "accountName": {
  10697. "description": "所属账号名称(已脱敏)",
  10698. "type": "string"
  10699. },
  10700. "accountid": {
  10701. "description": "资金账号",
  10702. "type": "integer"
  10703. },
  10704. "buyorsell": {
  10705. "description": "方向 - 0:买 1:卖",
  10706. "type": "integer"
  10707. },
  10708. "enableqty": {
  10709. "description": "可摘数量",
  10710. "type": "integer"
  10711. },
  10712. "goodscode": {
  10713. "description": "商品代码",
  10714. "type": "string"
  10715. },
  10716. "goodsid": {
  10717. "description": "商品ID",
  10718. "type": "integer"
  10719. },
  10720. "goodsname": {
  10721. "description": "商品名称",
  10722. "type": "string"
  10723. },
  10724. "orderid": {
  10725. "description": "委托单号",
  10726. "type": "string"
  10727. },
  10728. "orderprice": {
  10729. "description": "委托价格",
  10730. "type": "number"
  10731. },
  10732. "ordertime": {
  10733. "description": "委托时间",
  10734. "type": "string"
  10735. },
  10736. "tradedate": {
  10737. "description": "交易日(yyyyMMdd)",
  10738. "type": "string"
  10739. }
  10740. }
  10741. }
  10742. },
  10743. "securityDefinitions": {
  10744. "ApiKeyAuth": {
  10745. "type": "apiKey",
  10746. "name": "Authorization",
  10747. "in": "header"
  10748. }
  10749. }
  10750. }