swagger.yaml 238 KB

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